#E6C54F#E6C54F

#E6C54F is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 83.0% C 0.139 H 93.4°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#E6C54F
RGBrgb(230, 197, 79)
HSLhsl(47, 75%, 61%)
HSVhsv(47, 66%, 90%)
CMYKcmyk(0%, 14.3%, 65.7%, 9.8%)
CIE-LABlab(80.36, -1.20, 61.45)
CIE-LCHlch(80.36, 61.46, 91.12°)
OKLaboklab(83.04% -0.0083 0.1391)
OKLCHoklch(83.04% 0.139 93.4)
XYZxyz(54.0133, 57.3229, 15.6150)
Luminance0.5732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C54F #4F70E6
analogous
#E6794F #E6C54F #BCE64F
triadic
#E6C54F #4FE6C5 #C54FE6
tetradic
#E6C54F #4FE679 #4F70E6 #E64FBC
square
#E6C54F #4FE679 #4F70E6 #E64FBC
split-complementary
#E6C54F #4FBCE6 #794FE6
monochromatic
#A38517 #D9B01F #E6C54F #EED785 #F5E8BA

Accessibility & contrast

On white

1.68
#E6C54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#E6C54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C54F
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C54F#FFFFFF#000000##000000
##E6C54F1.001.6812.4612.46
#FFFFFF1.681.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C241
Deuteranopia (green-blind)
#E1CC55
Tritanopia (blue-blind)
#F8B6AC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e6c54f;
/* rgb */ color: rgb(230, 197, 79);
/* oklch */ color: oklch(83.0% 0.139 93.4);
Tailwind
colors: {
  custom: {
    50: '#f2d686',
    500: '#e6c54f',
    950: '#000000',
  },
}
SCSS
$custom: #e6c54f;
$custom-light: #f2d686;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c54f",
  "rgb": {
    "r": 230,
    "g": 197,
    "b": 79
  },
  "hsl": {
    "h": 46.887,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83037,
    "c": 0.13939,
    "h": 93.4
  },
  "luminance": 0.5732
}

Semantic roles & 50–950 ramp

primary
#E6C54F
secondary
#334CA6
accent
#3AD70E
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E6C54F

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

Preview Lab → · Contrast checker → · Palette generator →

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