#CDCF36#CDCF36

#CDCF36 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.7% C 0.165 H 110.3°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#CDCF36
RGBrgb(205, 207, 54)
HSLhsl(61, 61%, 51%)
HSVhsv(61, 74%, 81%)
CMYKcmyk(1%, 0%, 73.9%, 18.8%)
CIE-LABlab(80.67, -18.07, 70.45)
CIE-LCHlch(80.67, 72.73, 104.38°)
OKLaboklab(82.72% -0.0572 0.1548)
OKLCHoklch(82.72% 0.165 110.3)
XYZxyz(48.1572, 57.8725, 12.1231)
Luminance0.5787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF36 #3836CF
analogous
#CF8436 #CDCF36 #80CF36
triadic
#CDCF36 #36CDCF #CF36CD
tetradic
#CDCF36 #36CF84 #3836CF #CF3680
square
#CDCF36 #36CF84 #3836CF #CF3680
split-complementary
#CDCF36 #3680CF #8436CF
monochromatic
#6F701B #A0A127 #CDCF36 #D9DB67 #E6E799

Accessibility & contrast

On white

1.67
#CDCF36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#CDCF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF36
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF36#FFFFFF#000000##000000
##CDCF361.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C613
Deuteranopia (green-blind)
#E1CA43
Tritanopia (blue-blind)
#DBC2B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcf36;
/* rgb */ color: rgb(205, 207, 54);
/* oklch */ color: oklch(82.7% 0.165 110.3);
Tailwind
colors: {
  custom: {
    50: '#e0dd79',
    500: '#cdcf36',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf36;
$custom-light: #e0dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf36",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 54
  },
  "hsl": {
    "h": 60.784,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.82715,
    "c": 0.16498,
    "h": 110.3
  },
  "luminance": 0.57871
}

Semantic roles & 50–950 ramp

primary
#CDCF36
secondary
#313079
accent
#43E545
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDCF36

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

Preview Lab → · Contrast checker → · Palette generator →

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