#CDCF4E#CDCF4E

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

Color values

HEX#CDCF4E
RGBrgb(205, 207, 78)
HSLhsl(61, 57%, 56%)
HSVhsv(61, 62%, 81%)
CMYKcmyk(1%, 0%, 62.3%, 18.8%)
CIE-LABlab(80.83, -16.80, 61.72)
CIE-LCHlch(80.83, 63.96, 105.23°)
OKLaboklab(82.89% -0.0513 0.1402)
OKLCHoklch(82.89% 0.149 110.1)
XYZxyz(48.8663, 58.1561, 15.8574)
Luminance0.5816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF4E #504ECF
analogous
#CF904E #CDCF4E #8CCF4E
triadic
#CDCF4E #4ECDCF #CF4ECD
tetradic
#CDCF4E #4ECF90 #504ECF #CF4E8C
square
#CDCF4E #4ECF90 #504ECF #CF4E8C
split-complementary
#CDCF4E #4E8CCF #904ECF
monochromatic
#7E8023 #AEB030 #CDCF4E #DBDC7E #E8E9AE

Accessibility & contrast

On white

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

On black

12.63
#CDCF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF4E
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF4E#FFFFFF#000000##000000
##CDCF4E1.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcf4e;
/* rgb */ color: rgb(205, 207, 78);
/* oklch */ color: oklch(82.9% 0.149 110.1);
Tailwind
colors: {
  custom: {
    50: '#dfdd85',
    500: '#cdcf4e',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf4e;
$custom-light: #dfdd85;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf4e",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 78
  },
  "hsl": {
    "h": 60.93,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82891,
    "c": 0.14932,
    "h": 110.1
  },
  "luminance": 0.58155
}

Semantic roles & 50–950 ramp

primary
#CDCF4E
secondary
#3B3A87
accent
#47E14A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDCF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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