#EDCF5B#EDCF5B

#EDCF5B is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.8% C 0.138 H 94.8°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#EDCF5B
RGBrgb(237, 207, 91)
HSLhsl(48, 80%, 64%)
HSVhsv(48, 62%, 93%)
CMYKcmyk(0%, 12.7%, 61.6%, 7.1%)
CIE-LABlab(83.65, -2.68, 60.01)
CIE-LCHlch(83.65, 60.07, 92.56°)
OKLaboklab(85.82% -0.0115 0.1376)
OKLCHoklch(85.82% 0.138 94.8)
XYZxyz(59.1288, 63.3884, 19.0162)
Luminance0.6339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDCF5B #5B79ED
analogous
#ED865B #EDCF5B #C2ED5B
triadic
#EDCF5B #5BEDCF #CF5BED
tetradic
#EDCF5B #5BED86 #5B79ED #ED5BC2
square
#EDCF5B #5BED86 #5B79ED #ED5BC2
split-complementary
#EDCF5B #5BC2ED #865BED
monochromatic
#B99714 #E7BF24 #EDCF5B #F3DF92 #F9EFC9

Accessibility & contrast

On white

1.54
#EDCF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#EDCF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDCF5B
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDCF5B#FFFFFF#000000##000000
##EDCF5B1.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB4E
Deuteranopia (green-blind)
#EAD460
Tritanopia (blue-blind)
#FFC0B6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #edcf5b;
/* rgb */ color: rgb(237, 207, 91);
/* oklch */ color: oklch(85.8% 0.138 94.8);
Tailwind
colors: {
  custom: {
    50: '#f6dd8e',
    500: '#edcf5b',
    950: '#000000',
  },
}
SCSS
$custom: #edcf5b;
$custom-light: #f6dd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#edcf5b",
  "rgb": {
    "r": 237,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 47.671,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85817,
    "c": 0.1381,
    "h": 94.8
  },
  "luminance": 0.63386
}

Semantic roles & 50–950 ramp

primary
#EDCF5B
secondary
#344FB8
accent
#34DD09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EDCF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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