#CFCF36#CFCF36

#CFCF36 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.9% C 0.165 H 109.5°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#CFCF36
RGBrgb(207, 207, 54)
HSLhsl(60, 61%, 51%)
HSVhsv(60, 74%, 81%)
CMYKcmyk(0%, 0%, 73.9%, 18.8%)
CIE-LABlab(80.83, -17.23, 70.66)
CIE-LCHlch(80.83, 72.73, 103.70°)
OKLaboklab(82.88% -0.055 0.1551)
OKLCHoklch(82.88% 0.165 109.5)
XYZxyz(48.7126, 58.1589, 12.1491)
Luminance0.5816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF36 #3636CF
analogous
#CF8236 #CFCF36 #82CF36
triadic
#CFCF36 #36CFCF #CF36CF
tetradic
#CFCF36 #36CF82 #3636CF #CF3682
square
#CFCF36 #36CF82 #3636CF #CF3682
split-complementary
#CFCF36 #3682CF #8236CF
monochromatic
#70701B #A1A127 #CFCF36 #DBDB67 #E7E799

Accessibility & contrast

On white

1.66
#CFCF36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#CFCF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF36
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF36#FFFFFF#000000##000000
##CFCF361.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C613
Deuteranopia (green-blind)
#E2CB42
Tritanopia (blue-blind)
#DEC2B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf36;
/* rgb */ color: rgb(207, 207, 54);
/* oklch */ color: oklch(82.9% 0.165 109.5);
Tailwind
colors: {
  custom: {
    50: '#e2dd79',
    500: '#cfcf36',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf36;
$custom-light: #e2dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf36",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 54
  },
  "hsl": {
    "h": 60,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.82881,
    "c": 0.16456,
    "h": 109.5
  },
  "luminance": 0.58157
}

Semantic roles & 50–950 ramp

primary
#CFCF36
secondary
#303079
accent
#43E543
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFCF36

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

Preview Lab → · Contrast checker → · Palette generator →

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