#E7CF6F#E7CF6F

#E7CF6F is a very light, moderate yellow. Relative luminance 0.628; OKLCH L 85.5% C 0.120 H 95.6°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#E7CF6F
RGBrgb(231, 207, 111)
HSLhsl(48, 71%, 67%)
HSVhsv(48, 52%, 91%)
CMYKcmyk(0%, 10.4%, 51.9%, 9.4%)
CIE-LABlab(83.32, -3.66, 50.28)
CIE-LCHlch(83.32, 50.41, 94.16°)
OKLaboklab(85.5% -0.0117 0.119)
OKLCHoklch(85.5% 0.12 95.6)
XYZxyz(58.1391, 62.7647, 24.0882)
Luminance0.6276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CF6F #6F87E7
analogous
#E7936F #E7CF6F #C3E76F
triadic
#E7CF6F #6FE7CF #CF6FE7
tetradic
#E7CF6F #6FE793 #6F87E7 #E76FC3
square
#E7CF6F #6FE793 #6F87E7 #E76FC3
split-complementary
#E7CF6F #6FC3E7 #936FE7
monochromatic
#BC9D1F #DEBE3B #E7CF6F #F0E0A3 #F8F2D8

Accessibility & contrast

On white

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

On black

13.55
#E7CF6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CF6F
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CF6F#FFFFFF#000000##000000
##E7CF6F1.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB66
Deuteranopia (green-blind)
#E6D373
Tritanopia (blue-blind)
#F7C2B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e7cf6f;
/* rgb */ color: rgb(231, 207, 111);
/* oklch */ color: oklch(85.5% 0.120 95.6);
Tailwind
colors: {
  custom: {
    50: '#f1dd9a',
    500: '#e7cf6f',
    950: '#000000',
  },
}
SCSS
$custom: #e7cf6f;
$custom-light: #f1dd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cf6f",
  "rgb": {
    "r": 231,
    "g": 207,
    "b": 111
  },
  "hsl": {
    "h": 48,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85498,
    "c": 0.11956,
    "h": 95.6
  },
  "luminance": 0.62762
}

Semantic roles & 50–950 ramp

primary
#E7CF6F
secondary
#3F58BC
accent
#39D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7CF6F

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

Preview Lab → · Contrast checker → · Palette generator →

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