#CCB23E#CCB23E

#CCB23E is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.5% C 0.135 H 96.3°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#CCB23E
RGBrgb(204, 178, 62)
HSLhsl(49, 58%, 52%)
HSVhsv(49, 70%, 80%)
CMYKcmyk(0%, 12.7%, 69.6%, 20%)
CIE-LABlab(72.91, -3.32, 60.00)
CIE-LCHlch(72.91, 60.09, 93.17°)
OKLaboklab(76.54% -0.0148 0.1341)
OKLCHoklch(76.54% 0.135 96.3)
XYZxyz(41.6938, 45.0281, 11.0517)
Luminance0.4503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB23E #3E58CC
analogous
#CC6B3E #CCB23E #9FCC3E
triadic
#CCB23E #3ECCB2 #B23ECC
tetradic
#CCB23E #3ECC6B #3E58CC #CC3E9F
square
#CCB23E #3ECC6B #3E58CC #CC3E9F
split-complementary
#CCB23E #3E9FCC #6B3ECC
monochromatic
#72621E #A28C2B #CCB23E #D9C56E #E6D99F

Accessibility & contrast

On white

2.10
#CCB23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#CCB23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB23E
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB23E#FFFFFF#000000##000000
##CCB23E1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE2E
Deuteranopia (green-blind)
#CBB744
Tritanopia (blue-blind)
#DCA59A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb23e;
/* rgb */ color: rgb(204, 178, 62);
/* oklch */ color: oklch(76.5% 0.135 96.3);
Tailwind
colors: {
  custom: {
    50: '#dfc87a',
    500: '#ccb23e',
    950: '#000000',
  },
}
SCSS
$custom: #ccb23e;
$custom-light: #dfc87a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb23e",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 49.014,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76538,
    "c": 0.1349,
    "h": 96.3
  },
  "luminance": 0.45026
}

Semantic roles & 50–950 ramp

primary
#CCB23E
secondary
#949FD2
accent
#63E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB23E

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

Preview Lab → · Contrast checker → · Palette generator →

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