#CDCF30#CDCF30

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

Color values

HEX#CDCF30
RGBrgb(205, 207, 48)
HSLhsl(61, 62%, 50%)
HSVhsv(61, 77%, 81%)
CMYKcmyk(1%, 0%, 76.8%, 18.8%)
CIE-LABlab(80.64, -18.30, 72.28)
CIE-LCHlch(80.64, 74.56, 104.21°)
OKLaboklab(82.68% -0.0584 0.1576)
OKLCHoklch(82.68% 0.168 110.3)
XYZxyz(48.0249, 57.8196, 11.4262)
Luminance0.5782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF30 #3230CF
analogous
#CF8230 #CDCF30 #7DCF30
triadic
#CDCF30 #30CDCF #CF30CD
tetradic
#CDCF30 #30CF82 #3230CF #CF307D
square
#CDCF30 #30CF82 #3230CF #CF307D
split-complementary
#CDCF30 #307DCF #8230CF
monochromatic
#6B6C19 #9C9D24 #CDCF30 #D9DB62 #E5E693

Accessibility & contrast

On white

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

On black

12.56
#CDCF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF30
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF30#FFFFFF#000000##000000
##CDCF301.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#E1CA3E
Tritanopia (blue-blind)
#DCC2B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcf30;
/* rgb */ color: rgb(205, 207, 48);
/* oklch */ color: oklch(82.7% 0.168 110.3);
Tailwind
colors: {
  custom: {
    50: '#e0dd76',
    500: '#cdcf30',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf30;
$custom-light: #e0dd76;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf30",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 48
  },
  "hsl": {
    "h": 60.755,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.82682,
    "c": 0.16803,
    "h": 110.3
  },
  "luminance": 0.57818
}

Semantic roles & 50–950 ramp

primary
#CDCF30
secondary
#2F2E75
accent
#42E544
background
#FEFEFB
surface
#FDFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CDCF30

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

Preview Lab → · Contrast checker → · Palette generator →

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