#E6C74E#E6C74E

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

Color values

HEX#E6C74E
RGBrgb(230, 199, 78)
HSLhsl(48, 75%, 60%)
HSVhsv(48, 66%, 90%)
CMYKcmyk(0%, 13.5%, 66.1%, 9.8%)
CIE-LABlab(80.86, -2.29, 62.40)
CIE-LCHlch(80.86, 62.44, 92.10°)
OKLaboklab(83.43% -0.0115 0.141)
OKLCHoklch(83.43% 0.141 94.7)
XYZxyz(54.4343, 58.2227, 15.5772)
Luminance0.5822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C74E #4E6DE6
analogous
#E67B4E #E6C74E #B9E64E
triadic
#E6C74E #4EE6C7 #C74EE6
tetradic
#E6C74E #4EE67B #4E6DE6 #E64EB9
square
#E6C74E #4EE67B #4E6DE6 #E64EB9
split-complementary
#E6C74E #4EB9E6 #7B4EE6
monochromatic
#A38617 #D8B21F #E6C74E #EED884 #F5E9B9

Accessibility & contrast

On white

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

On black

12.64
#E6C74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C74E
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C74E#FFFFFF#000000##000000
##E6C74E1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e6c74e;
/* rgb */ color: rgb(230, 199, 78);
/* oklch */ color: oklch(83.4% 0.141 94.7);
Tailwind
colors: {
  custom: {
    50: '#f2d785',
    500: '#e6c74e',
    950: '#000000',
  },
}
SCSS
$custom: #e6c74e;
$custom-light: #f2d785;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c74e",
  "rgb": {
    "r": 230,
    "g": 199,
    "b": 78
  },
  "hsl": {
    "h": 47.763,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83431,
    "c": 0.14146,
    "h": 94.7
  },
  "luminance": 0.5822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E6C74E

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

Preview Lab → · Contrast checker → · Palette generator →

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