#E5C74F#E5C74F

#E5C74F is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.3% C 0.141 H 95.1°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#E5C74F
RGBrgb(229, 199, 79)
HSLhsl(48, 74%, 60%)
HSVhsv(48, 66%, 90%)
CMYKcmyk(0%, 13.1%, 65.5%, 10.2%)
CIE-LABlab(80.78, -2.65, 61.87)
CIE-LCHlch(80.78, 61.92, 92.45°)
OKLaboklab(83.35% -0.0124 0.14)
OKLCHoklch(83.35% 0.141 95.1)
XYZxyz(54.1504, 58.0722, 15.7524)
Luminance0.5807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C74F #4F6DE5
analogous
#E57C4F #E5C74F #B8E54F
triadic
#E5C74F #4FE5C7 #C74FE5
tetradic
#E5C74F #4FE57C #4F6DE5 #E54FB8
square
#E5C74F #4FE57C #4F6DE5 #E54FB8
split-complementary
#E5C74F #4FB8E5 #7C4FE5
monochromatic
#A28618 #D7B220 #E5C74F #EDD884 #F5E9BA

Accessibility & contrast

On white

1.66
#E5C74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#E5C74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C74F
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C74F#FFFFFF#000000##000000
##E5C74F1.001.6612.6112.61
#FFFFFF1.661.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC340
Deuteranopia (green-blind)
#E2CD55
Tritanopia (blue-blind)
#F7B8AE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e5c74f;
/* rgb */ color: rgb(229, 199, 79);
/* oklch */ color: oklch(83.3% 0.141 95.1);
Tailwind
colors: {
  custom: {
    50: '#f1d786',
    500: '#e5c74f',
    950: '#000000',
  },
}
SCSS
$custom: #e5c74f;
$custom-light: #f1d786;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c74f",
  "rgb": {
    "r": 229,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 48,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83346,
    "c": 0.14059,
    "h": 95.1
  },
  "luminance": 0.58069
}

Semantic roles & 50–950 ramp

primary
#E5C74F
secondary
#344AA4
accent
#37D60F
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E5C74F

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

Preview Lab → · Contrast checker → · Palette generator →

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