#E6D74F#E6D74F

#E6D74F is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.7% C 0.153 H 103.0°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#E6D74F
RGBrgb(230, 215, 79)
HSLhsl(54, 75%, 61%)
HSVhsv(54, 66%, 90%)
CMYKcmyk(0%, 6.5%, 65.7%, 9.8%)
CIE-LABlab(84.99, -10.37, 66.30)
CIE-LCHlch(84.99, 67.11, 98.89°)
OKLaboklab(86.71% -0.0345 0.1494)
OKLCHoklch(86.71% 0.153 103)
XYZxyz(58.3472, 65.9907, 17.0597)
Luminance0.6599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D74F #4F5EE6
analogous
#E68C4F #E6D74F #A9E64F
triadic
#E6D74F #4FE6D7 #D74FE6
tetradic
#E6D74F #4FE68C #4F5EE6 #E64FA9
square
#E6D74F #4FE68C #4F5EE6 #E64FA9
split-complementary
#E6D74F #4FA9E6 #8C4FE6
monochromatic
#A39517 #D9C61F #E6D74F #EEE385 #F5EFBA

Accessibility & contrast

On white

1.48
#E6D74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#E6D74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D74F
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D74F#FFFFFF#000000##000000
##E6D74F1.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD03D
Deuteranopia (green-blind)
#EED757
Tritanopia (blue-blind)
#F7C9BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e6d74f;
/* rgb */ color: rgb(230, 215, 79);
/* oklch */ color: oklch(86.7% 0.153 103.0);
Tailwind
colors: {
  custom: {
    50: '#f1e387',
    500: '#e6d74f',
    950: '#000000',
  },
}
SCSS
$custom: #e6d74f;
$custom-light: #f1e387;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d74f",
  "rgb": {
    "r": 230,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 54.04,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.86706,
    "c": 0.15332,
    "h": 103
  },
  "luminance": 0.65988
}

Semantic roles & 50–950 ramp

primary
#E6D74F
secondary
#333FA6
accent
#22D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E6D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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