#CFC841#CFC841

#CFC841 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.5% C 0.151 H 106.4°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#CFC841
RGBrgb(207, 200, 65)
HSLhsl(57, 60%, 53%)
HSVhsv(57, 69%, 81%)
CMYKcmyk(0%, 3.4%, 68.6%, 18.8%)
CIE-LABlab(79.02, -13.21, 65.05)
CIE-LCHlch(79.02, 66.38, 101.48°)
OKLaboklab(81.46% -0.0427 0.1452)
OKLCHoklch(81.46% 0.151 106.4)
XYZxyz(47.3423, 54.9573, 13.1140)
Luminance0.5496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC841 #4148CF
analogous
#CF8141 #CFC841 #8FCF41
triadic
#CFC841 #41CFC8 #C841CF
tetradic
#CFC841 #41CF81 #4148CF #CF418F
square
#CFC841 #41CF81 #4148CF #CF418F
split-complementary
#CFC841 #418FCF #8141CF
monochromatic
#77731E #A8A22B #CFC841 #DBD672 #E8E4A3

Accessibility & contrast

On white

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

On black

11.99
#CFC841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC841
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC841#FFFFFF#000000##000000
##CFC8411.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12C
Deuteranopia (green-blind)
#DCC64A
Tritanopia (blue-blind)
#DEBBAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc841;
/* rgb */ color: rgb(207, 200, 65);
/* oklch */ color: oklch(81.5% 0.151 106.4);
Tailwind
colors: {
  custom: {
    50: '#e1d87e',
    500: '#cfc841',
    950: '#000000',
  },
}
SCSS
$custom: #cfc841;
$custom-light: #e1d87e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc841",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 65
  },
  "hsl": {
    "h": 57.042,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81457,
    "c": 0.15132,
    "h": 106.4
  },
  "luminance": 0.54956
}

Semantic roles & 50–950 ramp

primary
#CFC841
secondary
#343880
accent
#4DE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC841

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

Preview Lab → · Contrast checker → · Palette generator →

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