#CFC036#CFC036

#CFC036 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.7% C 0.151 H 102.9°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#CFC036
RGBrgb(207, 192, 54)
HSLhsl(54, 61%, 51%)
HSVhsv(54, 74%, 81%)
CMYKcmyk(0%, 7.2%, 73.9%, 18.8%)
CIE-LABlab(76.82, -9.67, 66.90)
CIE-LCHlch(76.82, 67.60, 98.22°)
OKLaboklab(79.69% -0.0338 0.1471)
OKLCHoklch(79.69% 0.151 102.9)
XYZxyz(45.2496, 51.2330, 10.9948)
Luminance0.5123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC036 #3645CF
analogous
#CF7336 #CFC036 #91CF36
triadic
#CFC036 #36CFC0 #C036CF
tetradic
#CFC036 #36CF73 #3645CF #CF3691
square
#CFC036 #36CF73 #3645CF #CF3691
split-complementary
#CFC036 #3691CF #7336CF
monochromatic
#70681B #A19527 #CFC036 #DBCF67 #E7DF99

Accessibility & contrast

On white

1.87
#CFC036 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#CFC036 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC036
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC036#FFFFFF#000000##000000
##CFC0361.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1B
Deuteranopia (green-blind)
#D6C140
Tritanopia (blue-blind)
#DFB2A5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc036;
/* rgb */ color: rgb(207, 192, 54);
/* oklch */ color: oklch(79.7% 0.151 102.9);
Tailwind
colors: {
  custom: {
    50: '#e2d277',
    500: '#cfc036',
    950: '#000000',
  },
}
SCSS
$custom: #cfc036;
$custom-light: #e2d277;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc036",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 54
  },
  "hsl": {
    "h": 54.118,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79687,
    "c": 0.15097,
    "h": 102.9
  },
  "luminance": 0.51231
}

Semantic roles & 50–950 ramp

primary
#CFC036
secondary
#303779
accent
#53E543
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CFC036

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

Preview Lab → · Contrast checker → · Palette generator →

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