#CFC850#CFC850

#CFC850 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.140 H 106.0°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CFC850
RGBrgb(207, 200, 80)
HSLhsl(57, 57%, 56%)
HSVhsv(57, 61%, 81%)
CMYKcmyk(0%, 3.4%, 61.4%, 18.8%)
CIE-LABlab(79.13, -12.33, 59.11)
CIE-LCHlch(79.13, 60.38, 101.78°)
OKLaboklab(81.58% -0.0386 0.1349)
OKLCHoklch(81.58% 0.14 106)
XYZxyz(47.8360, 55.1547, 15.7140)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC850 #5057CF
analogous
#CF8950 #CFC850 #97CF50
triadic
#CFC850 #50CFC8 #C850CF
tetradic
#CFC850 #50CF89 #5057CF #CF5097
square
#CFC850 #50CF89 #5057CF #CF5097
split-complementary
#CFC850 #5097CF #8950CF
monochromatic
#817C23 #B1AA31 #CFC850 #DCD780 #E9E6B0

Accessibility & contrast

On white

1.75
#CFC850 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#CFC850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC850
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC850#FFFFFF#000000##000000
##CFC8501.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C142
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#DDBCAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc850;
/* rgb */ color: rgb(207, 200, 80);
/* oklch */ color: oklch(81.6% 0.140 106.0);
Tailwind
colors: {
  custom: {
    50: '#e1d886',
    500: '#cfc850',
    950: '#000000',
  },
}
SCSS
$custom: #cfc850;
$custom-light: #e1d886;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc850",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 80
  },
  "hsl": {
    "h": 56.693,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81584,
    "c": 0.14035,
    "h": 106
  },
  "luminance": 0.55153
}

Semantic roles & 50–950 ramp

primary
#CFC850
secondary
#3B3F89
accent
#50E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC850

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

Preview Lab → · Contrast checker → · Palette generator →

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