#E7CF52#E7CF52

#E7CF52 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.2% C 0.144 H 98.4°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#E7CF52
RGBrgb(231, 207, 82)
HSLhsl(50, 76%, 61%)
HSVhsv(50, 65%, 91%)
CMYKcmyk(0%, 10.4%, 64.5%, 9.4%)
CIE-LABlab(83.03, -5.73, 63.05)
CIE-LCHlch(83.03, 63.31, 95.20°)
OKLaboklab(85.18% -0.021 0.143)
OKLCHoklch(85.18% 0.144 98.4)
XYZxyz(56.7933, 62.2264, 17.0004)
Luminance0.6222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CF52 #526AE7
analogous
#E78552 #E7CF52 #B4E752
triadic
#E7CF52 #52E7CF #CF52E7
tetradic
#E7CF52 #52E785 #526AE7 #E752B4
square
#E7CF52 #52E785 #526AE7 #E752B4
split-complementary
#E7CF52 #52B4E7 #8552E7
monochromatic
#A79017 #DDBE1F #E7CF52 #EEDE88 #F6EDBD

Accessibility & contrast

On white

1.56
#E7CF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#E7CF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CF52
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CF52#FFFFFF#000000##000000
##E7CF521.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA43
Deuteranopia (green-blind)
#E9D259
Tritanopia (blue-blind)
#F8C1B5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e7cf52;
/* rgb */ color: rgb(231, 207, 82);
/* oklch */ color: oklch(85.2% 0.144 98.4);
Tailwind
colors: {
  custom: {
    50: '#f2dd88',
    500: '#e7cf52',
    950: '#000000',
  },
}
SCSS
$custom: #e7cf52;
$custom-light: #f2dd88;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cf52",
  "rgb": {
    "r": 231,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 50.336,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85181,
    "c": 0.14449,
    "h": 98.4
  },
  "luminance": 0.62224
}

Semantic roles & 50–950 ramp

primary
#E7CF52
secondary
#3447A9
accent
#2ED80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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