#E7CF5F#E7CF5F

#E7CF5F is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.3% C 0.134 H 97.3°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#E7CF5F
RGBrgb(231, 207, 95)
HSLhsl(49, 74%, 64%)
HSVhsv(49, 59%, 91%)
CMYKcmyk(0%, 10.4%, 58.9%, 9.4%)
CIE-LABlab(83.15, -4.89, 57.53)
CIE-LCHlch(83.15, 57.74, 94.86°)
OKLaboklab(85.31% -0.0171 0.133)
OKLCHoklch(85.31% 0.134 97.3)
XYZxyz(57.3357, 62.4434, 19.8569)
Luminance0.6244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CF5F #5F77E7
analogous
#E78B5F #E7CF5F #BBE75F
triadic
#E7CF5F #5FE7CF #CF5FE7
tetradic
#E7CF5F #5FE78B #5F77E7 #E75FBB
square
#E7CF5F #5FE78B #5F77E7 #E75FBB
split-complementary
#E7CF5F #5FBBE7 #8B5FE7
monochromatic
#B1961B #DFBF2A #E7CF5F #EFDF94 #F7EFC9

Accessibility & contrast

On white

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

On black

13.49
#E7CF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CF5F
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CF5F#FFFFFF#000000##000000
##E7CF5F1.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA53
Deuteranopia (green-blind)
#E8D364
Tritanopia (blue-blind)
#F8C1B6
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e7cf5f;
/* rgb */ color: rgb(231, 207, 95);
/* oklch */ color: oklch(85.3% 0.134 97.3);
Tailwind
colors: {
  custom: {
    50: '#f2dd90',
    500: '#e7cf5f',
    950: '#000000',
  },
}
SCSS
$custom: #e7cf5f;
$custom-light: #f2dd90;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cf5f",
  "rgb": {
    "r": 231,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 49.412,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85309,
    "c": 0.13407,
    "h": 97.3
  },
  "luminance": 0.62441
}

Semantic roles & 50–950 ramp

primary
#E7CF5F
secondary
#394EB2
accent
#33D60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7CF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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