#EAD231#EAD231

#EAD231 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.8% C 0.167 H 100.2°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#EAD231
RGBrgb(234, 210, 49)
HSLhsl(52, 81%, 55%)
HSVhsv(52, 79%, 92%)
CMYKcmyk(0%, 10.3%, 79.1%, 8.2%)
CIE-LABlab(83.87, -7.50, 75.79)
CIE-LCHlch(83.87, 76.16, 95.65°)
OKLaboklab(85.84% -0.0294 0.1641)
OKLCHoklch(85.84% 0.167 100.2)
XYZxyz(57.5356, 63.8102, 12.1912)
Luminance0.6381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAD231 #3149EA
analogous
#EA7531 #EAD231 #A6EA31
triadic
#EAD231 #31EAD2 #D231EA
tetradic
#EAD231 #31EA75 #3149EA #EA31A6
square
#EAD231 #31EA75 #3149EA #EA31A6
split-complementary
#EAD231 #31A6EA #7531EA
monochromatic
#92810F #C9B215 #EAD231 #F0DE69 #F5EAA0

Accessibility & contrast

On white

1.53
#EAD231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#EAD231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAD231
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAD231#FFFFFF#000000##000000
##EAD2311.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CC00
Deuteranopia (green-blind)
#EDD53E
Tritanopia (blue-blind)
#FDC2B4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ead231;
/* rgb */ color: rgb(234, 210, 49);
/* oklch */ color: oklch(85.8% 0.167 100.2);
Tailwind
colors: {
  custom: {
    50: '#f5df77',
    500: '#ead231',
    950: '#000000',
  },
}
SCSS
$custom: #ead231;
$custom-light: #f5df77;
$custom-dark: #000000;
JSON
{
  "hex": "#ead231",
  "rgb": {
    "r": 234,
    "g": 210,
    "b": 49
  },
  "hsl": {
    "h": 52.216,
    "s": 81.498,
    "l": 55.49
  },
  "oklch": {
    "l": 0.85839,
    "c": 0.16667,
    "h": 100.2
  },
  "luminance": 0.63807
}

Semantic roles & 50–950 ramp

primary
#EAD231
secondary
#293796
accent
#4AF830
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150A
muted
#86847D

Preview Lab

Preview with #EAD231

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

Preview Lab → · Contrast checker → · Palette generator →

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