#CFC14B#CFC14B

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

Color values

HEX#CFC14B
RGBrgb(207, 193, 75)
HSLhsl(54, 58%, 55%)
HSVhsv(54, 64%, 81%)
CMYKcmyk(0%, 6.8%, 63.8%, 18.8%)
CIE-LABlab(77.23, -9.08, 59.20)
CIE-LCHlch(77.23, 59.89, 98.72°)
OKLaboklab(80.06% -0.0299 0.1344)
OKLCHoklch(80.06% 0.138 102.5)
XYZxyz(46.0739, 51.9151, 14.2489)
Luminance0.5191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC14B #4B59CF
analogous
#CF7F4B #CFC14B #9BCF4B
triadic
#CFC14B #4BCFC1 #C14BCF
tetradic
#CFC14B #4BCF7F #4B59CF #CF4B9B
square
#CFC14B #4BCF7F #4B59CF #CF4B9B
split-complementary
#CFC14B #4B9BCF #7F4BCF
monochromatic
#7E7422 #AEA12E #CFC14B #DCD27B #E9E2AC

Accessibility & contrast

On white

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

On black

11.38
#CFC14B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC14B
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC14B#FFFFFF#000000##000000
##CFC14B1.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB3D
Deuteranopia (green-blind)
#D6C252
Tritanopia (blue-blind)
#DEB4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc14b;
/* rgb */ color: rgb(207, 193, 75);
/* oklch */ color: oklch(80.1% 0.138 102.5);
Tailwind
colors: {
  custom: {
    50: '#e1d383',
    500: '#cfc14b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc14b;
$custom-light: #e1d383;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc14b",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 75
  },
  "hsl": {
    "h": 53.636,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80059,
    "c": 0.13771,
    "h": 102.5
  },
  "luminance": 0.51913
}

Semantic roles & 50–950 ramp

primary
#CFC14B
secondary
#394186
accent
#57E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC14B

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

Preview Lab → · Contrast checker → · Palette generator →

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