#CDCF39#CDCF39

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

Color values

HEX#CDCF39
RGBrgb(205, 207, 57)
HSLhsl(61, 61%, 52%)
HSVhsv(61, 72%, 81%)
CMYKcmyk(1%, 0%, 72.5%, 18.8%)
CIE-LABlab(80.68, -17.93, 69.48)
CIE-LCHlch(80.68, 71.76, 104.47°)
OKLaboklab(82.73% -0.0566 0.1532)
OKLCHoklch(82.73% 0.163 110.3)
XYZxyz(48.2299, 57.9016, 12.5056)
Luminance0.5790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF39 #3B39CF
analogous
#CF8639 #CDCF39 #82CF39
triadic
#CDCF39 #39CDCF #CF39CD
tetradic
#CDCF39 #39CF86 #3B39CF #CF3982
square
#CDCF39 #39CF86 #3B39CF #CF3982
split-complementary
#CDCF39 #3982CF #8639CF
monochromatic
#71721C #A2A328 #CDCF39 #D9DB6A #E6E79C

Accessibility & contrast

On white

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

On black

12.58
#CDCF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF39
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF39#FFFFFF#000000##000000
##CDCF391.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcf39;
/* rgb */ color: rgb(205, 207, 57);
/* oklch */ color: oklch(82.7% 0.163 110.3);
Tailwind
colors: {
  custom: {
    50: '#e0dd7a',
    500: '#cdcf39',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf39;
$custom-light: #e0dd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf39",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 57
  },
  "hsl": {
    "h": 60.8,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.82733,
    "c": 0.16332,
    "h": 110.3
  },
  "luminance": 0.579
}

Semantic roles & 50–950 ramp

primary
#CDCF39
secondary
#32317B
accent
#44E446
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDCF39

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

Preview Lab → · Contrast checker → · Palette generator →

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