#CDCF34#CDCF34

#CDCF34 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#CDCF34
RGBrgb(205, 207, 52)
HSLhsl(61, 62%, 51%)
HSVhsv(61, 75%, 81%)
CMYKcmyk(1%, 0%, 74.9%, 18.8%)
CIE-LABlab(80.66, -18.15, 71.08)
CIE-LCHlch(80.66, 73.36, 104.32°)
OKLaboklab(82.7% -0.0576 0.1557)
OKLCHoklch(82.7% 0.166 110.3)
XYZxyz(48.1112, 57.8541, 11.8808)
Luminance0.5785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF34 #3634CF
analogous
#CF8334 #CDCF34 #7FCF34
triadic
#CDCF34 #34CDCF #CF34CD
tetradic
#CDCF34 #34CF83 #3634CF #CF347F
square
#CDCF34 #34CF83 #3634CF #CF347F
split-complementary
#CDCF34 #347FCF #8334CF
monochromatic
#6D6E1A #9EA026 #CDCF34 #D9DB65 #E5E697

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCF34#FFFFFF#000000##000000
##CDCF341.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)
#E0C60C
Deuteranopia (green-blind)
#E1CA41
Tritanopia (blue-blind)
#DCC2B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcf34;
/* rgb */ color: rgb(205, 207, 52);
/* oklch */ color: oklch(82.7% 0.166 110.3);
Tailwind
colors: {
  custom: {
    50: '#e0dd78',
    500: '#cdcf34',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf34;
$custom-light: #e0dd78;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf34",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 52
  },
  "hsl": {
    "h": 60.774,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.82703,
    "c": 0.16603,
    "h": 110.3
  },
  "luminance": 0.57853
}

Semantic roles & 50–950 ramp

primary
#CDCF34
secondary
#302F78
accent
#43E545
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDCF34

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

Preview Lab → · Contrast checker → · Palette generator →

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