#CCB139#CCB139

#CCB139 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.3% C 0.137 H 96.1°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#CCB139
RGBrgb(204, 177, 57)
HSLhsl(49, 59%, 51%)
HSVhsv(49, 72%, 80%)
CMYKcmyk(0%, 13.2%, 72.1%, 20%)
CIE-LABlab(72.61, -3.05, 61.67)
CIE-LCHlch(72.61, 61.74, 92.83°)
OKLaboklab(76.29% -0.0145 0.1367)
OKLCHoklch(76.29% 0.137 96.1)
XYZxyz(41.3646, 44.5793, 10.2960)
Luminance0.4458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB139 #3954CC
analogous
#CC6739 #CCB139 #9DCC39
triadic
#CCB139 #39CCB1 #B139CC
tetradic
#CCB139 #39CC67 #3954CC #CC399D
square
#CCB139 #39CC67 #3954CC #CC399D
split-complementary
#CCB139 #399DCC #6739CC
monochromatic
#6E5F1C #9F8929 #CCB139 #D9C46A #E5D79A

Accessibility & contrast

On white

2.12
#CCB139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#CCB139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB139
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB139#FFFFFF#000000##000000
##CCB1391.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD26
Deuteranopia (green-blind)
#CAB640
Tritanopia (blue-blind)
#DCA399
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb139;
/* rgb */ color: rgb(204, 177, 57);
/* oklch */ color: oklch(76.3% 0.137 96.1);
Tailwind
colors: {
  custom: {
    50: '#dfc777',
    500: '#ccb139',
    950: '#000000',
  },
}
SCSS
$custom: #ccb139;
$custom-light: #dfc777;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb139",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 57
  },
  "hsl": {
    "h": 48.98,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76293,
    "c": 0.13748,
    "h": 96.1
  },
  "luminance": 0.44577
}

Semantic roles & 50–950 ramp

primary
#CCB139
secondary
#909CD1
accent
#62E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB139

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

Preview Lab → · Contrast checker → · Palette generator →

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