#E7CF4D#E7CF4D

#E7CF4D is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.1% C 0.148 H 98.7°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#E7CF4D
RGBrgb(231, 207, 77)
HSLhsl(51, 76%, 60%)
HSVhsv(51, 67%, 91%)
CMYKcmyk(0%, 10.4%, 66.7%, 9.4%)
CIE-LABlab(82.99, -6.02, 65.06)
CIE-LCHlch(82.99, 65.34, 95.29°)
OKLaboklab(85.14% -0.0224 0.1464)
OKLCHoklch(85.14% 0.148 98.7)
XYZxyz(56.6099, 62.1531, 16.0346)
Luminance0.6215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CF4D #4D65E7
analogous
#E7824D #E7CF4D #B2E74D
triadic
#E7CF4D #4DE7CF #CF4DE7
tetradic
#E7CF4D #4DE782 #4D65E7 #E74DB2
square
#E7CF4D #4DE782 #4D65E7 #E74DB2
split-complementary
#E7CF4D #4DB2E7 #824DE7
monochromatic
#A48D16 #D9BC1D #E7CF4D #EEDE83 #F6ECB9

Accessibility & contrast

On white

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

On black

13.43
#E7CF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CF4D
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CF4D#FFFFFF#000000##000000
##E7CF4D1.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA3C
Deuteranopia (green-blind)
#E9D254
Tritanopia (blue-blind)
#F8C0B4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e7cf4d;
/* rgb */ color: rgb(231, 207, 77);
/* oklch */ color: oklch(85.1% 0.148 98.7);
Tailwind
colors: {
  custom: {
    50: '#f2dd85',
    500: '#e7cf4d',
    950: '#000000',
  },
}
SCSS
$custom: #e7cf4d;
$custom-light: #f2dd85;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cf4d",
  "rgb": {
    "r": 231,
    "g": 207,
    "b": 77
  },
  "hsl": {
    "h": 50.649,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.85137,
    "c": 0.14813,
    "h": 98.7
  },
  "luminance": 0.6215
}

Semantic roles & 50–950 ramp

primary
#E7CF4D
secondary
#3244A6
accent
#2DD80D
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E7CF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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