#CFC950#CFC950

#CFC950 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.8% C 0.141 H 106.4°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#CFC950
RGBrgb(207, 201, 80)
HSLhsl(57, 57%, 56%)
HSVhsv(57, 61%, 81%)
CMYKcmyk(0%, 2.9%, 61.4%, 18.8%)
CIE-LABlab(79.40, -12.83, 59.40)
CIE-LCHlch(79.40, 60.77, 102.19°)
OKLaboklab(81.8% -0.04 0.1356)
OKLCHoklch(81.8% 0.141 106.4)
XYZxyz(48.0684, 55.6194, 15.7914)
Luminance0.5562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC950 #5056CF
analogous
#CF8A50 #CFC950 #96CF50
triadic
#CFC950 #50CFC9 #C950CF
tetradic
#CFC950 #50CF8A #5056CF #CF5096
square
#CFC950 #50CF8A #5056CF #CF5096
split-complementary
#CFC950 #5096CF #8A50CF
monochromatic
#817D23 #B1AB31 #CFC950 #DCD880 #E9E7B0

Accessibility & contrast

On white

1.73
#CFC950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#CFC950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC950
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC950#FFFFFF#000000##000000
##CFC9501.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C242
Deuteranopia (green-blind)
#DCC757
Tritanopia (blue-blind)
#DDBDAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc950;
/* rgb */ color: rgb(207, 201, 80);
/* oklch */ color: oklch(81.8% 0.141 106.4);
Tailwind
colors: {
  custom: {
    50: '#e1d986',
    500: '#cfc950',
    950: '#000000',
  },
}
SCSS
$custom: #cfc950;
$custom-light: #e1d986;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc950",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 57.165,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81796,
    "c": 0.14133,
    "h": 106.4
  },
  "luminance": 0.55618
}

Semantic roles & 50–950 ramp

primary
#CFC950
secondary
#3B3E89
accent
#4FE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC950

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

Preview Lab → · Contrast checker → · Palette generator →

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