#E2CF6B#E2CF6B

#E2CF6B is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 85.0% C 0.123 H 98.8°. Best body text is #000000 at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#E2CF6B
RGBrgb(226, 207, 107)
HSLhsl(50, 67%, 65%)
HSVhsv(50, 53%, 89%)
CMYKcmyk(0%, 8.4%, 52.7%, 11.4%)
CIE-LABlab(82.84, -6.03, 51.51)
CIE-LCHlch(82.84, 51.86, 96.68°)
OKLaboklab(85% -0.0187 0.1214)
OKLCHoklch(85% 0.123 98.8)
XYZxyz(56.3326, 61.8581, 22.8796)
Luminance0.6186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF6B #6B7EE2
analogous
#E2936B #E2CF6B #BAE26B
triadic
#E2CF6B #6BE2CF #CF6BE2
tetradic
#E2CF6B #6BE293 #6B7EE2 #E26BBA
square
#E2CF6B #6BE293 #6B7EE2 #E26BBA
split-complementary
#E2CF6B #6BBAE2 #936BE2
monochromatic
#B09923 #D8BE38 #E2CF6B #ECE09E #F6F0D1

Accessibility & contrast

On white

1.57
#E2CF6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.37
#E2CF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF6B
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF6B#FFFFFF#000000##000000
##E2CF6B1.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA62
Deuteranopia (green-blind)
#E5D16F
Tritanopia (blue-blind)
#F1C3B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2cf6b;
/* rgb */ color: rgb(226, 207, 107);
/* oklch */ color: oklch(85.0% 0.123 98.8);
Tailwind
colors: {
  custom: {
    50: '#eddd98',
    500: '#e2cf6b',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf6b;
$custom-light: #eddd98;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf6b",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 107
  },
  "hsl": {
    "h": 50.42,
    "s": 67.232,
    "l": 65.294
  },
  "oklch": {
    "l": 0.84999,
    "c": 0.12281,
    "h": 98.8
  },
  "luminance": 0.61856
}

Semantic roles & 50–950 ramp

primary
#E2CF6B
secondary
#4052B1
accent
#34CF16
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E2CF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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