#CCD07A#CCD07A

#CCD07A is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.6% C 0.109 H 110.9°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#CCD07A
RGBrgb(204, 208, 122)
HSLhsl(63, 48%, 65%)
HSVhsv(63, 41%, 82%)
CMYKcmyk(1.9%, 0%, 41.3%, 18.4%)
CIE-LABlab(81.49, -13.98, 42.15)
CIE-LCHlch(81.49, 44.41, 108.34°)
OKLaboklab(83.55% -0.0389 0.1021)
OKLCHoklch(83.55% 0.109 110.9)
XYZxyz(50.9712, 59.3552, 27.1802)
Luminance0.5935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD07A #7E7AD0
analogous
#D0A97A #CCD07A #A1D07A
triadic
#CCD07A #7ACCD0 #D07ACC
tetradic
#CCD07A #7AD0A9 #7E7AD0 #D07AA1
square
#CCD07A #7AD0A9 #7E7AD0 #D07AA1
split-complementary
#CCD07A #7AA1D0 #A97AD0
monochromatic
#959936 #BBC04D #CCD07A #DDE0A7 #EFF0D4

Accessibility & contrast

On white

1.63
#CCD07A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#CCD07A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD07A
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD07A#FFFFFF#000000##000000
##CCD07A1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC973
Deuteranopia (green-blind)
#DDCC7E
Tritanopia (blue-blind)
#D6C7BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd07a;
/* rgb */ color: rgb(204, 208, 122);
/* oklch */ color: oklch(83.6% 0.109 110.9);
Tailwind
colors: {
  custom: {
    50: '#dddea2',
    500: '#ccd07a',
    950: '#000000',
  },
}
SCSS
$custom: #ccd07a;
$custom-light: #dddea2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd07a",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 122
  },
  "hsl": {
    "h": 62.791,
    "s": 47.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83551,
    "c": 0.10924,
    "h": 110.9
  },
  "luminance": 0.59354
}

Semantic roles & 50–950 ramp

primary
#CCD07A
secondary
#534F9F
accent
#2ABB31
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD07A

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

Preview Lab → · Contrast checker → · Palette generator →

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