#CDCF2F#CDCF2F

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

Color values

HEX#CDCF2F
RGBrgb(205, 207, 47)
HSLhsl(61, 63%, 50%)
HSVhsv(61, 77%, 81%)
CMYKcmyk(1%, 0%, 77.3%, 18.8%)
CIE-LABlab(80.63, -18.34, 72.57)
CIE-LCHlch(80.63, 74.85, 104.18°)
OKLaboklab(82.68% -0.0585 0.158)
OKLCHoklch(82.68% 0.169 110.3)
XYZxyz(48.0045, 57.8114, 11.3188)
Luminance0.5781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF2F #312FCF
analogous
#CF812F #CDCF2F #7DCF2F
triadic
#CDCF2F #2FCDCF #CF2FCD
tetradic
#CDCF2F #2FCF81 #312FCF #CF2F7D
square
#CDCF2F #2FCF81 #312FCF #CF2F7D
split-complementary
#CDCF2F #2F7DCF #812FCF
monochromatic
#6A6B18 #9C9D24 #CDCF2F #D9DB60 #E5E692

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCF2F#FFFFFF#000000##000000
##CDCF2F1.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)
#E1CA3D
Tritanopia (blue-blind)
#DCC2B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcf2f;
/* rgb */ color: rgb(205, 207, 47);
/* oklch */ color: oklch(82.7% 0.169 110.3);
Tailwind
colors: {
  custom: {
    50: '#e0dd75',
    500: '#cdcf2f',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf2f;
$custom-light: #e0dd75;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf2f",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 47
  },
  "hsl": {
    "h": 60.75,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.82677,
    "c": 0.16851,
    "h": 110.3
  },
  "luminance": 0.5781
}

Semantic roles & 50–950 ramp

primary
#CDCF2F
secondary
#2E2D75
accent
#42E644
background
#FEFEFB
surface
#FDFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CDCF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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