RAL Classic color

RAL 9002 Grey white #E7EBDA

RAL 9002 Grey white is shown here as #E7EBDA, a widely published sRGB approximation of the printed swatch. It is a pale grayish yellow in the neutral family. In OKLCH it sits at lightness 0.932, chroma 0.023 and hue 117.6°. The nearest CSS named color is beige (#F5F5DC), ΔE2000 3.8 away.

Relative luminance
0.8147
OKLCH L · C · h
0.932 · 0.023 · 117.6
Best text
Black 17.29:1
Hue family
Neutral

#E7EBDA color codes

HEX
#E7EBDA
RGB
rgb(231, 235, 218)
HSL
hsl(74, 30%, 89%)
OKLCH
oklch(0.932 0.023 117.6)
OKLab
oklab(0.932 -0.011 0.020)
CIELAB (D65)
L* 92.34, a* -4.29, b* 7.78
XYZ (D65)
X 75.32, Y 81.47, Z 78.07
CMYK (naive)
cmyk(2%, 0%, 7%, 8%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.

Legibility

Contrast: is #E7EBDA accessible?

Black text on it reaches 17.29:1, passing AAA. White text fails at 1.21:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    17.29:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +93
  • White text on it

    1.21:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −12

    Text is here, unreadable at 1.21:1

  • As text on black

    17.29:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −93
  • As text on white

    1.21:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +10

    Text is here, unreadable at 1.21:1

Nearest versions that pass 4.5:1

  • For text on white

    #747768 4.58:1

    Darkening its OKLCH lightness from 0.93 to 0.56 reaches 4.58:1 on white, keeping the hue.

  • For text on black

    #E7EBDA 17.29:1

    It already reaches 17.29:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #E7EBDA live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #E7EBDA

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #E7EBDA sits at step 100.

  1. 50#F4F7E9
    White
    1.08
    Black
    19.32
  2. 100This color#E7EBDA
    White
    1.21
    Black
    17.29
  3. 200#D6D9CB
    White
    1.43
    Black
    14.64
  4. 300#BCC0B0
    White
    1.85
    Black
    11.30
  5. 400#A0A494
    White
    2.55
    Black
    8.23
  6. 500#858879
    White
    3.62
    Black
    5.79
  7. 600#6D7162
    White
    5.01
    Black
    4.18
  8. 700#575A4C
    White
    7.06
    Black
    2.97
  9. 800#3F4135
    White
    10.40
    Black
    2.01
  10. 900#282A1F
    White
    14.57
    Black
    1.44
  11. 950#15170E
    White
    18.09
    Black
    1.16

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #E7EBDA can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.216; #E7EBDA uses 11% of it. Display P3, which many recent phones and laptops show, reaches 0.252 there: 16% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.023
sRGB edge
0.216
Display P3 edge
0.252
Rec. 2020 edge
0.259
Dominant wavelength
567 nm
Excitation purity
7%
Chromaticity
x 0.3207, y 0.3469
  • This color#E7EBDA
  • Most vivid in sRGB#DEFA00
  • Most vivid in Display P3oklch(0.932 0.252 117.6)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #e7ebda;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.8906 0.984 0); }
}

Mixing

Mixing #E7EBDA

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#F3F5ED
  • OKLab50%#F3F5EC
  • OKLCH50%#F3F5EC

Black #000000

  • sRGB50%#74766D
  • OKLab50%#595B54
  • OKLCH50%#595B54

Its complement #EAE6F7

  • sRGB50%#E9E9E9
  • OKLab50%#E8E9E9
  • OKLCH50%#D8EEF1
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #e7ebda, white);
color: color-mix(in oklch, #e7ebda 50%, white);

In use

#E7EBDA in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:117.29:1 Passes
  • Link and body-size textText, 4.5:11.21:1 Fails
  • Large headingLarge text, 3:11.21:1 Fails
  • Icons, borders and focus ringsNon-text, 3:11.21:1 Fails

For text on this page, the nearest shade that passes is #747768 4.58:1

Dark page

  • Button labelText, 4.5:117.29:1 Passes
  • Link and body-size textText, 4.5:115.42:1 Passes
  • Large headingLarge text, 3:115.42:1 Passes
  • Icons, borders and focus ringsNon-text, 3:115.42:1 Passes

Color vision

How #E7EBDA looks with color blindness

Achromatopsia changes it most, ΔE2000 8.2; deuteranopia changes it least, 4.1.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #EEE9D9 ΔE2000 4.2

    Close match

    Reads as pale grayish amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #EDE9DB ΔE2000 4.1

    Close match

    Reads as off-white

  • Tritanopia

    No working blue (short-wavelength) cones

    #E9E9E6 ΔE2000 6.7

    Noticeable

    Reads as off-white

  • Achromatopsia

    No cone color vision; lightness only

    #E9E9E9 ΔE2000 8.2

    Noticeable

    Reads as off-white

Pairing check

A near-neutral has no complementary hue to pair with, so tell it apart from neighboring grays by lightness contrast alone.

Harmony

Color harmonies for #E7EBDA

Its complement is #EAE6F7, a pale grayish violet.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#E7EBDA
  • Complement#EAE6F7

Complementary

Open in Harmony Studio
  • −30°#EFE8D8
  • Base#E7EBDA
  • +30°#DFEDE0
  • Base#E7EBDA
  • +120°#DBEBF6
  • +240°#F7E3E9
  • Base#E7EBDA
  • +150°#E2E9F9
  • +210°#F2E4F1

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-ral-9002: #e7ebda;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-9002': '#e7ebda',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-ral-9002: oklch(0.932 0.023 117.6);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-9002": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.9059, 0.9216, 0.8549],
        "hex": "#e7ebda"
      },
      "$description": "RAL 9002 Grey white (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral9002 = Color(.sRGB, red: 0.906, green: 0.922, blue: 0.855, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral9002 = Color(0xFFE7EBDA)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #E7EBDA in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.