#CDCF4B#CDCF4B

#CDCF4B is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.9% C 0.152 H 110.1°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#CDCF4B
RGBrgb(205, 207, 75)
HSLhsl(61, 58%, 55%)
HSVhsv(61, 64%, 81%)
CMYKcmyk(1%, 0%, 63.8%, 18.8%)
CIE-LABlab(80.80, -16.98, 62.91)
CIE-LCHlch(80.80, 65.17, 105.11°)
OKLaboklab(82.87% -0.0522 0.1423)
OKLCHoklch(82.87% 0.152 110.1)
XYZxyz(48.7612, 58.1141, 15.3038)
Luminance0.5811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF4B #4D4BCF
analogous
#CF8F4B #CDCF4B #8BCF4B
triadic
#CDCF4B #4BCDCF #CF4BCD
tetradic
#CDCF4B #4BCF8F #4D4BCF #CF4B8B
square
#CDCF4B #4BCF8F #4D4BCF #CF4B8B
split-complementary
#CDCF4B #4B8BCF #8F4BCF
monochromatic
#7D7E22 #ACAE2E #CDCF4B #DADC7B #E8E9AC

Accessibility & contrast

On white

1.66
#CDCF4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#CDCF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF4B
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF4B#FFFFFF#000000##000000
##CDCF4B1.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC63A
Deuteranopia (green-blind)
#E0CB54
Tritanopia (blue-blind)
#DBC3B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcf4b;
/* rgb */ color: rgb(205, 207, 75);
/* oklch */ color: oklch(82.9% 0.152 110.1);
Tailwind
colors: {
  custom: {
    50: '#dfdd84',
    500: '#cdcf4b',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf4b;
$custom-light: #dfdd84;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf4b",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 75
  },
  "hsl": {
    "h": 60.909,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82865,
    "c": 0.15157,
    "h": 110.1
  },
  "luminance": 0.58113
}

Semantic roles & 50–950 ramp

primary
#CDCF4B
secondary
#3A3986
accent
#47E149
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDCF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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