#CCD438#CCD438

#CCD438 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.7% C 0.169 H 112.5°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#CCD438
RGBrgb(204, 212, 56)
HSLhsl(63, 64%, 53%)
HSVhsv(63, 74%, 83%)
CMYKcmyk(3.8%, 0%, 73.6%, 16.9%)
CIE-LABlab(81.95, -20.85, 70.98)
CIE-LCHlch(81.95, 73.98, 106.37°)
OKLaboklab(83.73% -0.0647 0.1563)
OKLCHoklch(83.73% 0.169 112.5)
XYZxyz(49.1607, 60.2110, 12.7728)
Luminance0.6021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD438 #4038D4
analogous
#D48E38 #CCD438 #7ED438
triadic
#CCD438 #38CCD4 #D438CC
tetradic
#CCD438 #38D48E #4038D4 #D4387E
square
#CCD438 #38D48E #4038D4 #D4387E
split-complementary
#CCD438 #387ED4 #8E38D4
monochromatic
#73781A #A3AA25 #CCD438 #D9DF6A #E6EA9D

Accessibility & contrast

On white

1.61
#CCD438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#CCD438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD438
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD438#FFFFFF#000000##000000
##CCD4381.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA15
Deuteranopia (green-blind)
#E4CD45
Tritanopia (blue-blind)
#DAC7B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ccd438;
/* rgb */ color: rgb(204, 212, 56);
/* oklch */ color: oklch(83.7% 0.169 112.5);
Tailwind
colors: {
  custom: {
    50: '#dfe17a',
    500: '#ccd438',
    950: '#000000',
  },
}
SCSS
$custom: #ccd438;
$custom-light: #dfe17a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd438",
  "rgb": {
    "r": 204,
    "g": 212,
    "b": 56
  },
  "hsl": {
    "h": 63.077,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.83727,
    "c": 0.16913,
    "h": 112.5
  },
  "luminance": 0.6021
}

Semantic roles & 50–950 ramp

primary
#CCD438
secondary
#343080
accent
#40E749
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCD438

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

Preview Lab → · Contrast checker → · Palette generator →

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