#EECF5B#EECF5B

#EECF5B is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.9% C 0.138 H 94.3°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#EECF5B
RGBrgb(238, 207, 91)
HSLhsl(47, 81%, 65%)
HSVhsv(47, 62%, 93%)
CMYKcmyk(0%, 13%, 61.8%, 6.7%)
CIE-LABlab(83.74, -2.26, 60.14)
CIE-LCHlch(83.74, 60.18, 92.16°)
OKLaboklab(85.91% -0.0104 0.1379)
OKLCHoklch(85.91% 0.138 94.3)
XYZxyz(59.4637, 63.5611, 19.0319)
Luminance0.6356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EECF5B #5B7AEE
analogous
#EE865B #EECF5B #C3EE5B
triadic
#EECF5B #5BEECF #CF5BEE
tetradic
#EECF5B #5BEE86 #5B7AEE #EE5BC3
square
#EECF5B #5BEE86 #5B7AEE #EE5BC3
split-complementary
#EECF5B #5BC3EE #865BEE
monochromatic
#BB9813 #E8BF24 #EECF5B #F4DF92 #F9EFCA

Accessibility & contrast

On white

1.53
#EECF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#EECF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EECF5B
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EECF5B#FFFFFF#000000##000000
##EECF5B1.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB4E
Deuteranopia (green-blind)
#EBD560
Tritanopia (blue-blind)
#FFC0B6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #eecf5b;
/* rgb */ color: rgb(238, 207, 91);
/* oklch */ color: oklch(85.9% 0.138 94.3);
Tailwind
colors: {
  custom: {
    50: '#f7dd8e',
    500: '#eecf5b',
    950: '#000000',
  },
}
SCSS
$custom: #eecf5b;
$custom-light: #f7dd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#eecf5b",
  "rgb": {
    "r": 238,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 47.347,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85909,
    "c": 0.13825,
    "h": 94.3
  },
  "luminance": 0.63558
}

Semantic roles & 50–950 ramp

primary
#EECF5B
secondary
#3350BA
accent
#35DE08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EECF5B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#EECF5B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva