#CCB037#CCB037

#CCB037 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.1% C 0.138 H 95.6°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#CCB037
RGBrgb(204, 176, 55)
HSLhsl(49, 59%, 51%)
HSVhsv(49, 73%, 80%)
CMYKcmyk(0%, 13.7%, 73%, 20%)
CIE-LABlab(72.34, -2.62, 62.16)
CIE-LCHlch(72.34, 62.21, 92.41°)
OKLaboklab(76.07% -0.0135 0.1374)
OKLCHoklch(76.07% 0.138 95.6)
XYZxyz(41.1189, 44.1661, 9.9728)
Luminance0.4416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB037 #3753CC
analogous
#CC6537 #CCB037 #9DCC37
triadic
#CCB037 #37CCB0 #B037CC
tetradic
#CCB037 #37CC65 #3753CC #CC379D
square
#CCB037 #37CC65 #3753CC #CC379D
split-complementary
#CCB037 #379DCC #6537CC
monochromatic
#6D5E1C #9E8828 #CCB037 #D8C368 #E5D799

Accessibility & contrast

On white

2.14
#CCB037 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#CCB037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB037
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB037#FFFFFF#000000##000000
##CCB0371.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC23
Deuteranopia (green-blind)
#C9B53E
Tritanopia (blue-blind)
#DCA298
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ccb037;
/* rgb */ color: rgb(204, 176, 55);
/* oklch */ color: oklch(76.1% 0.138 95.6);
Tailwind
colors: {
  custom: {
    50: '#e0c776',
    500: '#ccb037',
    950: '#000000',
  },
}
SCSS
$custom: #ccb037;
$custom-light: #e0c776;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb037",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 55
  },
  "hsl": {
    "h": 48.725,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76071,
    "c": 0.13803,
    "h": 95.6
  },
  "luminance": 0.44164
}

Semantic roles & 50–950 ramp

primary
#CCB037
secondary
#8E9BD0
accent
#63E345
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB037

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

Preview Lab → · Contrast checker → · Palette generator →

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