#E7CF70#E7CF70

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

Color values

HEX#E7CF70
RGBrgb(231, 207, 112)
HSLhsl(48, 71%, 67%)
HSVhsv(48, 52%, 91%)
CMYKcmyk(0%, 10.4%, 51.5%, 9.4%)
CIE-LABlab(83.33, -3.58, 49.81)
CIE-LCHlch(83.33, 49.94, 94.11°)
OKLaboklab(85.51% -0.0114 0.1181)
OKLCHoklch(85.51% 0.119 95.5)
XYZxyz(58.1945, 62.7869, 24.3798)
Luminance0.6278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CF70 #7088E7
analogous
#E79470 #E7CF70 #C4E770
triadic
#E7CF70 #70E7CF #CF70E7
tetradic
#E7CF70 #70E794 #7088E7 #E770C4
square
#E7CF70 #70E794 #7088E7 #E770C4
split-complementary
#E7CF70 #70C4E7 #9470E7
monochromatic
#BD9D20 #DEBD3C #E7CF70 #F0E1A4 #F9F2D9

Accessibility & contrast

On white

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

On black

13.56
#E7CF70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CF70
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CF70#FFFFFF#000000##000000
##E7CF701.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7cf70;
/* rgb */ color: rgb(231, 207, 112);
/* oklch */ color: oklch(85.5% 0.119 95.5);
Tailwind
colors: {
  custom: {
    50: '#f1dd9b',
    500: '#e7cf70',
    950: '#000000',
  },
}
SCSS
$custom: #e7cf70;
$custom-light: #f1dd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cf70",
  "rgb": {
    "r": 231,
    "g": 207,
    "b": 112
  },
  "hsl": {
    "h": 47.899,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85511,
    "c": 0.1186,
    "h": 95.5
  },
  "luminance": 0.62784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7CF70

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

Preview Lab → · Contrast checker → · Palette generator →

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