#CCB237#CCB237

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

Color values

HEX#CCB237
RGBrgb(204, 178, 55)
HSLhsl(50, 59%, 51%)
HSVhsv(50, 73%, 80%)
CMYKcmyk(0%, 12.7%, 73%, 20%)
CIE-LABlab(72.86, -3.67, 62.66)
CIE-LCHlch(72.86, 62.77, 93.35°)
OKLaboklab(76.49% -0.0165 0.1385)
OKLCHoklch(76.49% 0.139 96.8)
XYZxyz(41.5139, 44.9562, 10.1045)
Luminance0.4495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB237 #3751CC
analogous
#CC6737 #CCB237 #9CCC37
triadic
#CCB237 #37CCB2 #B237CC
tetradic
#CCB237 #37CC67 #3751CC #CC379C
square
#CCB237 #37CC67 #3751CC #CC379C
split-complementary
#CCB237 #379CCC #6737CC
monochromatic
#6D5F1C #9E8928 #CCB237 #D8C568 #E5D899

Accessibility & contrast

On white

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

On black

9.99
#CCB237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB237
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB237#FFFFFF#000000##000000
##CCB2371.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE23
Deuteranopia (green-blind)
#CBB63F
Tritanopia (blue-blind)
#DCA49A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb237;
/* rgb */ color: rgb(204, 178, 55);
/* oklch */ color: oklch(76.5% 0.139 96.8);
Tailwind
colors: {
  custom: {
    50: '#e0c876',
    500: '#ccb237',
    950: '#000000',
  },
}
SCSS
$custom: #ccb237;
$custom-light: #e0c876;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb237",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 49.53,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76486,
    "c": 0.13943,
    "h": 96.8
  },
  "luminance": 0.44954
}

Semantic roles & 50–950 ramp

primary
#CCB237
secondary
#8E9AD0
accent
#61E345
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB237

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

Preview Lab → · Contrast checker → · Palette generator →

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