#CFC14F#CFC14F

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

Color values

HEX#CFC14F
RGBrgb(207, 193, 79)
HSLhsl(53, 57%, 56%)
HSVhsv(53, 62%, 81%)
CMYKcmyk(0%, 6.8%, 61.8%, 18.8%)
CIE-LABlab(77.26, -8.82, 57.52)
CIE-LCHlch(77.26, 58.20, 98.72°)
OKLaboklab(80.1% -0.0287 0.1314)
OKLCHoklch(80.1% 0.135 102.3)
XYZxyz(46.2151, 51.9716, 14.9928)
Luminance0.5197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC14F #4F5DCF
analogous
#CF814F #CFC14F #9DCF4F
triadic
#CFC14F #4FCFC1 #C14FCF
tetradic
#CFC14F #4FCF81 #4F5DCF #CF4F9D
square
#CFC14F #4FCF81 #4F5DCF #CF4F9D
split-complementary
#CFC14F #4F9DCF #814FCF
monochromatic
#817623 #B1A330 #CFC14F #DCD27F #E9E3AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC14F#FFFFFF#000000##000000
##CFC14F1.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)
#D1BB42
Deuteranopia (green-blind)
#D6C255
Tritanopia (blue-blind)
#DEB4A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc14f;
/* rgb */ color: rgb(207, 193, 79);
/* oklch */ color: oklch(80.1% 0.135 102.3);
Tailwind
colors: {
  custom: {
    50: '#e1d385',
    500: '#cfc14f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc14f;
$custom-light: #e1d385;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc14f",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 79
  },
  "hsl": {
    "h": 53.438,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80097,
    "c": 0.13454,
    "h": 102.3
  },
  "luminance": 0.5197
}

Semantic roles & 50–950 ramp

primary
#CFC14F
secondary
#3A4388
accent
#58E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC14F

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

Preview Lab → · Contrast checker → · Palette generator →

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