#E7CF66#E7CF66

#E7CF66 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.4% C 0.128 H 96.6°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#E7CF66
RGBrgb(231, 207, 102)
HSLhsl(49, 73%, 65%)
HSVhsv(49, 56%, 91%)
CMYKcmyk(0%, 10.4%, 55.8%, 9.4%)
CIE-LABlab(83.22, -4.38, 54.41)
CIE-LCHlch(83.22, 54.58, 94.60°)
OKLaboklab(85.39% -0.0148 0.1271)
OKLCHoklch(85.39% 0.128 96.6)
XYZxyz(57.6683, 62.5764, 21.6086)
Luminance0.6257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CF66 #667EE7
analogous
#E78E66 #E7CF66 #BFE766
triadic
#E7CF66 #66E7CF #CF66E7
tetradic
#E7CF66 #66E78E #667EE7 #E766BF
square
#E7CF66 #66E78E #667EE7 #E766BF
split-complementary
#E7CF66 #66BFE7 #8E66E7
monochromatic
#B6991D #DFBE31 #E7CF66 #EFE09B #F8F0D0

Accessibility & contrast

On white

1.55
#E7CF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#E7CF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CF66
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CF66#FFFFFF#000000##000000
##E7CF661.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB5C
Deuteranopia (green-blind)
#E7D36B
Tritanopia (blue-blind)
#F7C2B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e7cf66;
/* rgb */ color: rgb(231, 207, 102);
/* oklch */ color: oklch(85.4% 0.128 96.6);
Tailwind
colors: {
  custom: {
    50: '#f1dd95',
    500: '#e7cf66',
    950: '#000000',
  },
}
SCSS
$custom: #e7cf66;
$custom-light: #f1dd95;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cf66",
  "rgb": {
    "r": 231,
    "g": 207,
    "b": 102
  },
  "hsl": {
    "h": 48.837,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.85387,
    "c": 0.12794,
    "h": 96.6
  },
  "luminance": 0.62574
}

Semantic roles & 50–950 ramp

primary
#E7CF66
secondary
#3B52B6
accent
#35D511
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7CF66

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

Preview Lab → · Contrast checker → · Palette generator →

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