#EAC751#EAC751

#EAC751 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.8% C 0.140 H 92.5°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#EAC751
RGBrgb(234, 199, 81)
HSLhsl(46, 78%, 62%)
HSVhsv(46, 65%, 92%)
CMYKcmyk(0%, 15%, 65.4%, 8.2%)
CIE-LABlab(81.26, -0.43, 61.67)
CIE-LCHlch(81.26, 61.67, 90.40°)
OKLaboklab(83.84% -0.0061 0.1398)
OKLCHoklch(83.84% 0.14 92.5)
XYZxyz(55.8431, 58.9364, 16.2175)
Luminance0.5893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAC751 #5174EA
analogous
#EA7B51 #EAC751 #C0EA51
triadic
#EAC751 #51EAC7 #C751EA
tetradic
#EAC751 #51EA7B #5174EA #EA51C0
square
#EAC751 #51EA7B #5174EA #EA51C0
split-complementary
#EAC751 #51C0EA #7B51EA
monochromatic
#AC8915 #E2B51B #EAC751 #F1D988 #F7EABE

Accessibility & contrast

On white

1.64
#EAC751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#EAC751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAC751
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAC751#FFFFFF#000000##000000
##EAC7511.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC443
Deuteranopia (green-blind)
#E4CE57
Tritanopia (blue-blind)
#FCB8AE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #eac751;
/* rgb */ color: rgb(234, 199, 81);
/* oklch */ color: oklch(83.8% 0.140 92.5);
Tailwind
colors: {
  custom: {
    50: '#f4d787',
    500: '#eac751',
    950: '#000000',
  },
}
SCSS
$custom: #eac751;
$custom-light: #f4d787;
$custom-dark: #000000;
JSON
{
  "hex": "#eac751",
  "rgb": {
    "r": 234,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 46.275,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83836,
    "c": 0.13991,
    "h": 92.5
  },
  "luminance": 0.58933
}

Semantic roles & 50–950 ramp

primary
#EAC751
secondary
#324EAD
accent
#3ADB0B
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #EAC751

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

Preview Lab → · Contrast checker → · Palette generator →

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