#CFC536#CFC536

#CFC536 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.7% C 0.155 H 105.3°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#CFC536
RGBrgb(207, 197, 54)
HSLhsl(56, 61%, 51%)
HSVhsv(56, 74%, 81%)
CMYKcmyk(0%, 4.8%, 73.9%, 18.8%)
CIE-LABlab(78.15, -12.21, 68.15)
CIE-LCHlch(78.15, 69.24, 100.16°)
OKLaboklab(80.75% -0.0409 0.1498)
OKLCHoklch(80.75% 0.155 105.3)
XYZxyz(46.3662, 53.4660, 11.3669)
Luminance0.5346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC536 #3640CF
analogous
#CF7836 #CFC536 #8DCF36
triadic
#CFC536 #36CFC5 #C536CF
tetradic
#CFC536 #36CF78 #3640CF #CF368D
square
#CFC536 #36CF78 #3640CF #CF368D
split-complementary
#CFC536 #368DCF #7836CF
monochromatic
#706A1B #A19927 #CFC536 #DBD367 #E7E299

Accessibility & contrast

On white

1.80
#CFC536 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#CFC536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC536
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC536#FFFFFF#000000##000000
##CFC5361.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE19
Deuteranopia (green-blind)
#DAC441
Tritanopia (blue-blind)
#DEB7AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc536;
/* rgb */ color: rgb(207, 197, 54);
/* oklch */ color: oklch(80.7% 0.155 105.3);
Tailwind
colors: {
  custom: {
    50: '#e2d678',
    500: '#cfc536',
    950: '#000000',
  },
}
SCSS
$custom: #cfc536;
$custom-light: #e2d678;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc536",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 54
  },
  "hsl": {
    "h": 56.078,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80745,
    "c": 0.15528,
    "h": 105.3
  },
  "luminance": 0.53464
}

Semantic roles & 50–950 ramp

primary
#CFC536
secondary
#303579
accent
#4EE543
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CFC536

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

Preview Lab → · Contrast checker → · Palette generator →

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