#CDCF35#CDCF35

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

Color values

HEX#CDCF35
RGBrgb(205, 207, 53)
HSLhsl(61, 62%, 51%)
HSVhsv(61, 74%, 81%)
CMYKcmyk(1%, 0%, 74.4%, 18.8%)
CIE-LABlab(80.66, -18.11, 70.77)
CIE-LCHlch(80.66, 73.05, 104.35°)
OKLaboklab(82.71% -0.0574 0.1552)
OKLCHoklch(82.71% 0.166 110.3)
XYZxyz(48.1340, 57.8632, 12.0006)
Luminance0.5786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF35 #3735CF
analogous
#CF8435 #CDCF35 #80CF35
triadic
#CDCF35 #35CDCF #CF35CD
tetradic
#CDCF35 #35CF84 #3735CF #CF3580
square
#CDCF35 #35CF84 #3735CF #CF3580
split-complementary
#CDCF35 #3580CF #8435CF
monochromatic
#6E6F1A #9FA126 #CDCF35 #D9DB66 #E5E798

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCF35#FFFFFF#000000##000000
##CDCF351.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)
#E0C610
Deuteranopia (green-blind)
#E1CA42
Tritanopia (blue-blind)
#DCC2B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcf35;
/* rgb */ color: rgb(205, 207, 53);
/* oklch */ color: oklch(82.7% 0.166 110.3);
Tailwind
colors: {
  custom: {
    50: '#e0dd78',
    500: '#cdcf35',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf35;
$custom-light: #e0dd78;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf35",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 53
  },
  "hsl": {
    "h": 60.779,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.82709,
    "c": 0.16551,
    "h": 110.3
  },
  "luminance": 0.57862
}

Semantic roles & 50–950 ramp

primary
#CDCF35
secondary
#313078
accent
#43E545
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDCF35

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

Preview Lab → · Contrast checker → · Palette generator →

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