#E7CF6B#E7CF6B

#E7CF6B is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.4% C 0.123 H 96.1°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#E7CF6B
RGBrgb(231, 207, 107)
HSLhsl(48, 72%, 66%)
HSVhsv(48, 54%, 91%)
CMYKcmyk(0%, 10.4%, 53.7%, 9.4%)
CIE-LABlab(83.27, -3.99, 52.13)
CIE-LCHlch(83.27, 52.28, 94.38°)
OKLaboklab(85.45% -0.0131 0.1227)
OKLCHoklch(85.45% 0.123 96.1)
XYZxyz(57.9238, 62.6786, 22.9541)
Luminance0.6268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CF6B #6B83E7
analogous
#E7916B #E7CF6B #C1E76B
triadic
#E7CF6B #6BE7CF #CF6BE7
tetradic
#E7CF6B #6BE791 #6B83E7 #E76BC1
square
#E7CF6B #6BE791 #6B83E7 #E76BC1
split-complementary
#E7CF6B #6BC1E7 #916BE7
monochromatic
#BA9B1E #DEBE36 #E7CF6B #F0E0A0 #F8F1D4

Accessibility & contrast

On white

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

On black

13.54
#E7CF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CF6B
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CF6B#FFFFFF#000000##000000
##E7CF6B1.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB62
Deuteranopia (green-blind)
#E7D36F
Tritanopia (blue-blind)
#F7C2B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e7cf6b;
/* rgb */ color: rgb(231, 207, 107);
/* oklch */ color: oklch(85.4% 0.123 96.1);
Tailwind
colors: {
  custom: {
    50: '#f1dd98',
    500: '#e7cf6b',
    950: '#000000',
  },
}
SCSS
$custom: #e7cf6b;
$custom-light: #f1dd98;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cf6b",
  "rgb": {
    "r": 231,
    "g": 207,
    "b": 107
  },
  "hsl": {
    "h": 48.387,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.85447,
    "c": 0.12335,
    "h": 96.1
  },
  "luminance": 0.62676
}

Semantic roles & 50–950 ramp

primary
#E7CF6B
secondary
#3D55B9
accent
#37D411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7CF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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