#CFC14D#CFC14D

#CFC14D is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.1% C 0.136 H 102.4°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#CFC14D
RGBrgb(207, 193, 77)
HSLhsl(54, 58%, 56%)
HSVhsv(54, 63%, 81%)
CMYKcmyk(0%, 6.8%, 62.8%, 18.8%)
CIE-LABlab(77.25, -8.95, 58.37)
CIE-LCHlch(77.25, 59.05, 98.72°)
OKLaboklab(80.08% -0.0293 0.133)
OKLCHoklch(80.08% 0.136 102.4)
XYZxyz(46.1434, 51.9430, 14.6151)
Luminance0.5194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC14D #4D5BCF
analogous
#CF804D #CFC14D #9CCF4D
triadic
#CFC14D #4DCFC1 #C14DCF
tetradic
#CFC14D #4DCF80 #4D5BCF #CF4D9C
square
#CFC14D #4DCF80 #4D5BCF #CF4D9C
split-complementary
#CFC14D #4D9CCF #804DCF
monochromatic
#7F7522 #AFA22F #CFC14D #DCD27D #E9E3AD

Accessibility & contrast

On white

1.84
#CFC14D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#CFC14D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC14D
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC14D#FFFFFF#000000##000000
##CFC14D1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB3F
Deuteranopia (green-blind)
#D6C253
Tritanopia (blue-blind)
#DEB4A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc14d;
/* rgb */ color: rgb(207, 193, 77);
/* oklch */ color: oklch(80.1% 0.136 102.4);
Tailwind
colors: {
  custom: {
    50: '#e1d384',
    500: '#cfc14d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc14d;
$custom-light: #e1d384;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc14d",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 77
  },
  "hsl": {
    "h": 53.538,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80078,
    "c": 0.13614,
    "h": 102.4
  },
  "luminance": 0.51941
}

Semantic roles & 50–950 ramp

primary
#CFC14D
secondary
#394287
accent
#58E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC14D

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

Preview Lab → · Contrast checker → · Palette generator →

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