#CFC64E#CFC64E

#CFC64E is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.1% C 0.140 H 105.0°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CFC64E
RGBrgb(207, 198, 78)
HSLhsl(56, 57%, 56%)
HSVhsv(56, 62%, 81%)
CMYKcmyk(0%, 4.3%, 62.3%, 18.8%)
CIE-LABlab(78.58, -11.44, 59.37)
CIE-LCHlch(78.58, 60.47, 100.91°)
OKLaboklab(81.14% -0.0363 0.1352)
OKLCHoklch(81.14% 0.14 105)
XYZxyz(47.3030, 54.2053, 15.1772)
Luminance0.5420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC64E #4E57CF
analogous
#CF854E #CFC64E #97CF4E
triadic
#CFC64E #4ECFC6 #C64ECF
tetradic
#CFC64E #4ECF85 #4E57CF #CF4E97
square
#CFC64E #4ECF85 #4E57CF #CF4E97
split-complementary
#CFC64E #4E97CF #854ECF
monochromatic
#807923 #B0A730 #CFC64E #DCD67E #E9E5AE

Accessibility & contrast

On white

1.77
#CFC64E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CFC64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC64E
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC64E#FFFFFF#000000##000000
##CFC64E1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF40
Deuteranopia (green-blind)
#DAC555
Tritanopia (blue-blind)
#DDB9AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc64e;
/* rgb */ color: rgb(207, 198, 78);
/* oklch */ color: oklch(81.1% 0.140 105.0);
Tailwind
colors: {
  custom: {
    50: '#e1d785',
    500: '#cfc64e',
    950: '#000000',
  },
}
SCSS
$custom: #cfc64e;
$custom-light: #e1d785;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc64e",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 78
  },
  "hsl": {
    "h": 55.814,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81142,
    "c": 0.14,
    "h": 105
  },
  "luminance": 0.54204
}

Semantic roles & 50–950 ramp

primary
#CFC64E
secondary
#3A3F87
accent
#52E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC64E

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

Preview Lab → · Contrast checker → · Palette generator →

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