#E6CF5F#E6CF5F

#E6CF5F is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 85.2% C 0.134 H 97.8°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#E6CF5F
RGBrgb(230, 207, 95)
HSLhsl(50, 73%, 64%)
HSVhsv(50, 59%, 90%)
CMYKcmyk(0%, 10%, 58.7%, 9.8%)
CIE-LABlab(83.06, -5.30, 57.41)
CIE-LCHlch(83.06, 57.65, 95.28°)
OKLaboklab(85.22% -0.0182 0.1327)
OKLCHoklch(85.22% 0.134 97.8)
XYZxyz(57.0138, 62.2774, 19.8418)
Luminance0.6228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CF5F #5F76E6
analogous
#E68B5F #E6CF5F #B9E65F
triadic
#E6CF5F #5FE6CF #CF5FE6
tetradic
#E6CF5F #5FE68B #5F76E6 #E65FB9
square
#E6CF5F #5FE68B #5F76E6 #E65FB9
split-complementary
#E6CF5F #5FB9E6 #8B5FE6
monochromatic
#AF961B #DEBF2A #E6CF5F #EEDF94 #F7EFC9

Accessibility & contrast

On white

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

On black

13.46
#E6CF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CF5F
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CF5F#FFFFFF#000000##000000
##E6CF5F1.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e6cf5f;
/* rgb */ color: rgb(230, 207, 95);
/* oklch */ color: oklch(85.2% 0.134 97.8);
Tailwind
colors: {
  custom: {
    50: '#f1dd90',
    500: '#e6cf5f',
    950: '#000000',
  },
}
SCSS
$custom: #e6cf5f;
$custom-light: #f1dd90;
$custom-dark: #000000;
JSON
{
  "hex": "#e6cf5f",
  "rgb": {
    "r": 230,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 49.778,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85218,
    "c": 0.13398,
    "h": 97.8
  },
  "luminance": 0.62275
}

Semantic roles & 50–950 ramp

primary
#E6CF5F
secondary
#394DB0
accent
#32D510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E6CF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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