#CFC336#CFC336

#CFC336 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.3% C 0.154 H 104.4°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CFC336
RGBrgb(207, 195, 54)
HSLhsl(55, 61%, 51%)
HSVhsv(55, 74%, 81%)
CMYKcmyk(0%, 5.8%, 73.9%, 18.8%)
CIE-LABlab(77.62, -11.20, 67.65)
CIE-LCHlch(77.62, 68.57, 99.40°)
OKLaboklab(80.32% -0.0381 0.1487)
OKLCHoklch(80.32% 0.154 104.4)
XYZxyz(45.9151, 52.5638, 11.2166)
Luminance0.5256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC336 #3642CF
analogous
#CF7636 #CFC336 #8ECF36
triadic
#CFC336 #36CFC3 #C336CF
tetradic
#CFC336 #36CF76 #3642CF #CF368E
square
#CFC336 #36CF76 #3642CF #CF368E
split-complementary
#CFC336 #368ECF #7636CF
monochromatic
#70691B #A19827 #CFC336 #DBD267 #E7E099

Accessibility & contrast

On white

1.82
#CFC336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CFC336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC336
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC336#FFFFFF#000000##000000
##CFC3361.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC1A
Deuteranopia (green-blind)
#D9C340
Tritanopia (blue-blind)
#DFB5A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc336;
/* rgb */ color: rgb(207, 195, 54);
/* oklch */ color: oklch(80.3% 0.154 104.4);
Tailwind
colors: {
  custom: {
    50: '#e2d477',
    500: '#cfc336',
    950: '#000000',
  },
}
SCSS
$custom: #cfc336;
$custom-light: #e2d477;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc336",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 54
  },
  "hsl": {
    "h": 55.294,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80321,
    "c": 0.15353,
    "h": 104.4
  },
  "luminance": 0.52562
}

Semantic roles & 50–950 ramp

primary
#CFC336
secondary
#303679
accent
#50E543
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CFC336

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

Preview Lab → · Contrast checker → · Palette generator →

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