#CFC849#CFC849

#CFC849 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.5% C 0.146 H 106.2°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#CFC849
RGBrgb(207, 200, 73)
HSLhsl(57, 58%, 55%)
HSVhsv(57, 65%, 81%)
CMYKcmyk(0%, 3.4%, 64.7%, 18.8%)
CIE-LABlab(79.07, -12.76, 61.97)
CIE-LCHlch(79.07, 63.27, 101.64°)
OKLaboklab(81.52% -0.0406 0.14)
OKLCHoklch(81.52% 0.146 106.2)
XYZxyz(47.5907, 55.0566, 14.4221)
Luminance0.5505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC849 #4950CF
analogous
#CF8549 #CFC849 #93CF49
triadic
#CFC849 #49CFC8 #C849CF
tetradic
#CFC849 #49CF85 #4950CF #CF4993
square
#CFC849 #49CF85 #4950CF #CF4993
split-complementary
#CFC849 #4993CF #8549CF
monochromatic
#7D7821 #ADA62E #CFC849 #DCD779 #E9E5AA

Accessibility & contrast

On white

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

On black

12.01
#CFC849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC849
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC849#FFFFFF#000000##000000
##CFC8491.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C138
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#DEBBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc849;
/* rgb */ color: rgb(207, 200, 73);
/* oklch */ color: oklch(81.5% 0.146 106.2);
Tailwind
colors: {
  custom: {
    50: '#e1d882',
    500: '#cfc849',
    950: '#000000',
  },
}
SCSS
$custom: #cfc849;
$custom-light: #e1d882;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc849",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 73
  },
  "hsl": {
    "h": 56.866,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81521,
    "c": 0.14573,
    "h": 106.2
  },
  "luminance": 0.55055
}

Semantic roles & 50–950 ramp

primary
#CFC849
secondary
#383C84
accent
#4EE146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC849

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

Preview Lab → · Contrast checker → · Palette generator →

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