#CCD38E#CCD38E

#CCD38E is a very light, moderate yellow. Relative luminance 0.614; OKLCH L 84.5% C 0.090 H 113.1°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#CCD38E
RGBrgb(204, 211, 142)
HSLhsl(66, 44%, 69%)
HSVhsv(66, 33%, 83%)
CMYKcmyk(3.3%, 0%, 32.7%, 17.3%)
CIE-LABlab(82.58, -13.18, 33.44)
CIE-LCHlch(82.58, 35.94, 111.51°)
OKLaboklab(84.52% -0.0353 0.083)
OKLCHoklch(84.52% 0.09 113.1)
XYZxyz(53.0787, 61.3795, 34.6372)
Luminance0.6138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD38E #958ED3
analogous
#D3B88E #CCD38E #AAD38E
triadic
#CCD38E #8ECCD3 #D38ECC
tetradic
#CCD38E #8ED3B8 #958ED3 #D38EAA
square
#CCD38E #8ED3B8 #958ED3 #D38EAA
split-complementary
#CCD38E #8EAAD3 #B88ED3
monochromatic
#9CA641 #B8C262 #CCD38E #E0E4BA #F4F5E6

Accessibility & contrast

On white

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

On black

13.28
#CCD38E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD38E
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD38E#FFFFFF#000000##000000
##CCD38E1.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd38e;
/* rgb */ color: rgb(204, 211, 142);
/* oklch */ color: oklch(84.5% 0.090 113.1);
Tailwind
colors: {
  custom: {
    50: '#dce0af',
    500: '#ccd38e',
    950: '#000000',
  },
}
SCSS
$custom: #ccd38e;
$custom-light: #dce0af;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd38e",
  "rgb": {
    "r": 204,
    "g": 211,
    "b": 142
  },
  "hsl": {
    "h": 66.087,
    "s": 43.949,
    "l": 69.216
  },
  "oklch": {
    "l": 0.8452,
    "c": 0.09015,
    "h": 113.1
  },
  "luminance": 0.61379
}

Semantic roles & 50–950 ramp

primary
#CCD38E
secondary
#645CA9
accent
#2EB73C
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCD38E

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

Preview Lab → · Contrast checker → · Palette generator →

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