#CDCF74#CDCF74

#CDCF74 is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.3% C 0.114 H 109.7°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#CDCF74
RGBrgb(205, 207, 116)
HSLhsl(61, 49%, 63%)
HSVhsv(61, 44%, 81%)
CMYKcmyk(1%, 0%, 44%, 18.8%)
CIE-LABlab(81.22, -13.69, 44.80)
CIE-LCHlch(81.22, 46.85, 107.00°)
OKLaboklab(83.33% -0.0386 0.1076)
OKLCHoklch(83.33% 0.114 109.7)
XYZxyz(50.6429, 58.8668, 25.2142)
Luminance0.5887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF74 #7674CF
analogous
#CFA374 #CDCF74 #9FCF74
triadic
#CDCF74 #74CDCF #CF74CD
tetradic
#CDCF74 #74CFA3 #7674CF #CF749F
square
#CDCF74 #74CFA3 #7674CF #CF749F
split-complementary
#CDCF74 #749FCF #A374CF
monochromatic
#939533 #BDBF47 #CDCF74 #DDDFA1 #EEEECF

Accessibility & contrast

On white

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

On black

12.77
#CDCF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF74
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF74#FFFFFF#000000##000000
##CDCF741.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC86C
Deuteranopia (green-blind)
#DDCB78
Tritanopia (blue-blind)
#D8C5B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcf74;
/* rgb */ color: rgb(205, 207, 116);
/* oklch */ color: oklch(83.3% 0.114 109.7);
Tailwind
colors: {
  custom: {
    50: '#dedd9e',
    500: '#cdcf74',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf74;
$custom-light: #dedd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf74",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 116
  },
  "hsl": {
    "h": 61.319,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.83331,
    "c": 0.11437,
    "h": 109.7
  },
  "luminance": 0.58866
}

Semantic roles & 50–950 ramp

primary
#CDCF74
secondary
#4E4C9B
accent
#2ABC2D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCF74

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

Preview Lab → · Contrast checker → · Palette generator →

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