#EDE97B#EDE97B

#EDE97B is a very light, vivid yellow. Relative luminance 0.777; OKLCH L 91.5% C 0.133 H 106.9°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#EDE97B
RGBrgb(237, 233, 123)
HSLhsl(58, 76%, 71%)
HSVhsv(58, 48%, 93%)
CMYKcmyk(0%, 1.7%, 48.1%, 7.1%)
CIE-LABlab(90.65, -13.29, 53.49)
CIE-LCHlch(90.65, 55.11, 103.96°)
OKLaboklab(91.48% -0.0385 0.127)
OKLCHoklch(91.48% 0.133 106.9)
XYZxyz(67.6407, 77.7142, 30.1723)
Luminance0.7771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE97B #7B7FED
analogous
#EDB07B #EDE97B #B8ED7B
triadic
#EDE97B #7BEDE9 #E97BED
tetradic
#EDE97B #7BEDB0 #7B7FED #ED7BB8
square
#EDE97B #7BEDB0 #7B7FED #ED7BB8
split-complementary
#EDE97B #7BB8ED #B07BED
monochromatic
#D1CB1D #E6E045 #EDE97B #F4F2B1 #FBFBE4

Accessibility & contrast

On white

1.27
#EDE97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.54
#EDE97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE97B
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE97B#FFFFFF#000000##000000
##EDE97B1.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E271
Deuteranopia (green-blind)
#FBE680
Tritanopia (blue-blind)
#FBDDD0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ede97b;
/* rgb */ color: rgb(237, 233, 123);
/* oklch */ color: oklch(91.5% 0.133 106.9);
Tailwind
colors: {
  custom: {
    50: '#f5efa3',
    500: '#ede97b',
    950: '#000000',
  },
}
SCSS
$custom: #ede97b;
$custom-light: #f5efa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ede97b",
  "rgb": {
    "r": 237,
    "g": 233,
    "b": 123
  },
  "hsl": {
    "h": 57.895,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91477,
    "c": 0.13267,
    "h": 106.9
  },
  "luminance": 0.77712
}

Semantic roles & 50–950 ramp

primary
#EDE97B
secondary
#464AC6
accent
#14D80D
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EDE97B

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

Preview Lab → · Contrast checker → · Palette generator →

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