#E6C74F#E6C74F

#E6C74F is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.4% C 0.141 H 94.6°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#E6C74F
RGBrgb(230, 199, 79)
HSLhsl(48, 75%, 61%)
HSVhsv(48, 66%, 90%)
CMYKcmyk(0%, 13.5%, 65.7%, 9.8%)
CIE-LABlab(80.87, -2.23, 61.99)
CIE-LCHlch(80.87, 62.03, 92.06°)
OKLaboklab(83.44% -0.0112 0.1403)
OKLCHoklch(83.44% 0.141 94.6)
XYZxyz(54.4704, 58.2372, 15.7674)
Luminance0.5823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C74F #4F6EE6
analogous
#E67B4F #E6C74F #B9E64F
triadic
#E6C74F #4FE6C7 #C74FE6
tetradic
#E6C74F #4FE67B #4F6EE6 #E64FB9
square
#E6C74F #4FE67B #4F6EE6 #E64FB9
split-complementary
#E6C74F #4FB9E6 #7B4FE6
monochromatic
#A38717 #D9B31F #E6C74F #EED885 #F5E9BA

Accessibility & contrast

On white

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

On black

12.65
#E6C74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C74F
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C74F#FFFFFF#000000##000000
##E6C74F1.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC340
Deuteranopia (green-blind)
#E3CD55
Tritanopia (blue-blind)
#F8B8AE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e6c74f;
/* rgb */ color: rgb(230, 199, 79);
/* oklch */ color: oklch(83.4% 0.141 94.6);
Tailwind
colors: {
  custom: {
    50: '#f2d786',
    500: '#e6c74f',
    950: '#000000',
  },
}
SCSS
$custom: #e6c74f;
$custom-light: #f2d786;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c74f",
  "rgb": {
    "r": 230,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 47.682,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8344,
    "c": 0.14073,
    "h": 94.6
  },
  "luminance": 0.58234
}

Semantic roles & 50–950 ramp

primary
#E6C74F
secondary
#334BA6
accent
#37D70E
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E6C74F

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

Preview Lab → · Contrast checker → · Palette generator →

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