#CCD058#CCD058

#CCD058 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.1% C 0.143 H 110.9°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#CCD058
RGBrgb(204, 208, 88)
HSLhsl(62, 56%, 58%)
HSVhsv(62, 58%, 82%)
CMYKcmyk(1.9%, 0%, 57.7%, 18.4%)
CIE-LABlab(81.10, -17.02, 57.73)
CIE-LCHlch(81.10, 60.19, 106.43°)
OKLaboklab(83.12% -0.0508 0.1331)
OKLCHoklch(83.12% 0.143 110.9)
XYZxyz(49.2205, 58.6548, 17.9593)
Luminance0.5865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD058 #5C58D0
analogous
#D09858 #CCD058 #90D058
triadic
#CCD058 #58CCD0 #D058CC
tetradic
#CCD058 #58D098 #5C58D0 #D05890
square
#CCD058 #58D098 #5C58D0 #D05890
split-complementary
#CCD058 #5890D0 #9858D0
monochromatic
#848726 #B3B734 #CCD058 #DBDD88 #E9EBB8

Accessibility & contrast

On white

1.65
#CCD058 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#CCD058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD058
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD058#FFFFFF#000000##000000
##CCD0581.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84B
Deuteranopia (green-blind)
#E0CB5F
Tritanopia (blue-blind)
#D9C4B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccd058;
/* rgb */ color: rgb(204, 208, 88);
/* oklch */ color: oklch(83.1% 0.143 110.9);
Tailwind
colors: {
  custom: {
    50: '#dede8c',
    500: '#ccd058',
    950: '#000000',
  },
}
SCSS
$custom: #ccd058;
$custom-light: #dede8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd058",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 88
  },
  "hsl": {
    "h": 62,
    "s": 56.075,
    "l": 58.039
  },
  "oklch": {
    "l": 0.8312,
    "c": 0.14252,
    "h": 110.9
  },
  "luminance": 0.58654
}

Semantic roles & 50–950 ramp

primary
#CCD058
secondary
#413E8E
accent
#48DF4D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD058

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

Preview Lab → · Contrast checker → · Palette generator →

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