#CCD38D#CCD38D

#CCD38D is a very light, moderate yellow. Relative luminance 0.613; OKLCH L 84.5% C 0.091 H 113.0°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#CCD38D
RGBrgb(204, 211, 141)
HSLhsl(66, 44%, 69%)
HSVhsv(66, 33%, 83%)
CMYKcmyk(3.3%, 0%, 33.2%, 17.3%)
CIE-LABlab(82.57, -13.30, 33.93)
CIE-LCHlch(82.57, 36.45, 111.40°)
OKLaboklab(84.5% -0.0357 0.0841)
OKLCHoklch(84.5% 0.091 113)
XYZxyz(53.0040, 61.3496, 34.2436)
Luminance0.6135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD38D #948DD3
analogous
#D3B78D #CCD38D #A9D38D
triadic
#CCD38D #8DCCD3 #D38DCC
tetradic
#CCD38D #8DD3B7 #948DD3 #D38DA9
square
#CCD38D #8DD3B7 #948DD3 #D38DA9
split-complementary
#CCD38D #8DA9D3 #B78DD3
monochromatic
#9BA640 #B8C261 #CCD38D #E0E4B9 #F4F5E5

Accessibility & contrast

On white

1.58
#CCD38D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#CCD38D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD38D
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD38D#FFFFFF#000000##000000
##CCD38D1.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCD88
Deuteranopia (green-blind)
#DDCE90
Tritanopia (blue-blind)
#D4CBC1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd38d;
/* rgb */ color: rgb(204, 211, 141);
/* oklch */ color: oklch(84.5% 0.091 113.0);
Tailwind
colors: {
  custom: {
    50: '#dce0af',
    500: '#ccd38d',
    950: '#000000',
  },
}
SCSS
$custom: #ccd38d;
$custom-light: #dce0af;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd38d",
  "rgb": {
    "r": 204,
    "g": 211,
    "b": 141
  },
  "hsl": {
    "h": 66,
    "s": 44.304,
    "l": 69.02
  },
  "oklch": {
    "l": 0.84502,
    "c": 0.09134,
    "h": 113
  },
  "luminance": 0.61349
}

Semantic roles & 50–950 ramp

primary
#CCD38D
secondary
#635BA9
accent
#2EB73C
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCD38D

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

Preview Lab → · Contrast checker → · Palette generator →

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