#E2CF68#E2CF68

#E2CF68 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 85.0% C 0.126 H 99.0°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#E2CF68
RGBrgb(226, 207, 104)
HSLhsl(51, 68%, 65%)
HSVhsv(51, 54%, 89%)
CMYKcmyk(0%, 8.4%, 54%, 11.4%)
CIE-LABlab(82.80, -6.27, 52.88)
CIE-LCHlch(82.80, 53.25, 96.77°)
OKLaboklab(84.96% -0.0197 0.1241)
OKLCHoklch(84.96% 0.126 99)
XYZxyz(56.1775, 61.7961, 22.0627)
Luminance0.6179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF68 #687BE2
analogous
#E29268 #E2CF68 #B8E268
triadic
#E2CF68 #68E2CF #CF68E2
tetradic
#E2CF68 #68E292 #687BE2 #E268B8
square
#E2CF68 #68E292 #687BE2 #E268B8
split-complementary
#E2CF68 #68B8E2 #9268E2
monochromatic
#AE9821 #D8BF35 #E2CF68 #ECDF9B #F6F0CF

Accessibility & contrast

On white

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

On black

13.36
#E2CF68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF68
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF68#FFFFFF#000000##000000
##E2CF681.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA5E
Deuteranopia (green-blind)
#E5D16D
Tritanopia (blue-blind)
#F1C2B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2cf68;
/* rgb */ color: rgb(226, 207, 104);
/* oklch */ color: oklch(85.0% 0.126 99.0);
Tailwind
colors: {
  custom: {
    50: '#eddd96',
    500: '#e2cf68',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf68;
$custom-light: #eddd96;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf68",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 104
  },
  "hsl": {
    "h": 50.656,
    "s": 67.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.84962,
    "c": 0.12564,
    "h": 99
  },
  "luminance": 0.61794
}

Semantic roles & 50–950 ramp

primary
#E2CF68
secondary
#3F50B0
accent
#33D016
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2CF68

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

Preview Lab → · Contrast checker → · Palette generator →

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