#CCC23E#CCC23E

#CCC23E is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.9% C 0.148 H 105.0°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#CCC23E
RGBrgb(204, 194, 62)
HSLhsl(56, 58%, 52%)
HSVhsv(56, 70%, 80%)
CMYKcmyk(0%, 4.9%, 69.6%, 20%)
CIE-LABlab(77.14, -11.59, 64.24)
CIE-LCHlch(77.14, 65.28, 100.23°)
OKLaboklab(79.9% -0.0382 0.143)
OKLCHoklch(79.9% 0.148 105)
XYZxyz(45.0649, 51.7704, 12.1754)
Luminance0.5177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC23E #3E48CC
analogous
#CC7B3E #CCC23E #8FCC3E
triadic
#CCC23E #3ECCC2 #C23ECC
tetradic
#CCC23E #3ECC7B #3E48CC #CC3E8F
square
#CCC23E #3ECC7B #3E48CC #CC3E8F
split-complementary
#CCC23E #3E8FCC #7B3ECC
monochromatic
#726C1E #A29A2B #CCC23E #D9D16E #E6E19F

Accessibility & contrast

On white

1.85
#CCC23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#CCC23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC23E
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC23E#FFFFFF#000000##000000
##CCC23E1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB29
Deuteranopia (green-blind)
#D6C147
Tritanopia (blue-blind)
#DBB5A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc23e;
/* rgb */ color: rgb(204, 194, 62);
/* oklch */ color: oklch(79.9% 0.148 105.0);
Tailwind
colors: {
  custom: {
    50: '#dfd47b',
    500: '#ccc23e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc23e;
$custom-light: #dfd47b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc23e",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 62
  },
  "hsl": {
    "h": 55.775,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79898,
    "c": 0.14807,
    "h": 105
  },
  "luminance": 0.51769
}

Semantic roles & 50–950 ramp

primary
#CCC23E
secondary
#34397B
accent
#51E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC23E

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

Preview Lab → · Contrast checker → · Palette generator →

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