#CDCF78#CDCF78

#CDCF78 is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.4% C 0.110 H 109.7°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#CDCF78
RGBrgb(205, 207, 120)
HSLhsl(61, 48%, 64%)
HSVhsv(61, 42%, 81%)
CMYKcmyk(1%, 0%, 42%, 18.8%)
CIE-LABlab(81.27, -13.29, 42.89)
CIE-LCHlch(81.27, 44.90, 107.21°)
OKLaboklab(83.39% -0.0371 0.1036)
OKLCHoklch(83.39% 0.11 109.7)
XYZxyz(50.8806, 58.9618, 26.4661)
Luminance0.5896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF78 #7A78CF
analogous
#CFA678 #CDCF78 #A2CF78
triadic
#CDCF78 #78CDCF #CF78CD
tetradic
#CDCF78 #78CFA6 #7A78CF #CF78A2
square
#CDCF78 #78CFA6 #7A78CF #CF78A2
split-complementary
#CDCF78 #78A2CF #A678CF
monochromatic
#959736 #BCBF4B #CDCF78 #DEDFA5 #EEEFD2

Accessibility & contrast

On white

1.64
#CDCF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#CDCF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF78
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF78#FFFFFF#000000##000000
##CDCF781.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC871
Deuteranopia (green-blind)
#DCCB7C
Tritanopia (blue-blind)
#D8C5BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcf78;
/* rgb */ color: rgb(205, 207, 120);
/* oklch */ color: oklch(83.4% 0.110 109.7);
Tailwind
colors: {
  custom: {
    50: '#dedda0',
    500: '#cdcf78',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf78;
$custom-light: #dedda0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf78",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 120
  },
  "hsl": {
    "h": 61.379,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8339,
    "c": 0.11007,
    "h": 109.7
  },
  "luminance": 0.58961
}

Semantic roles & 50–950 ramp

primary
#CDCF78
secondary
#504E9D
accent
#2BBB2E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCF78

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

Preview Lab → · Contrast checker → · Palette generator →

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