#CCB539#CCB539

#CCB539 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.1% C 0.140 H 98.4°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#CCB539
RGBrgb(204, 181, 57)
HSLhsl(51, 59%, 51%)
HSVhsv(51, 72%, 80%)
CMYKcmyk(0%, 11.3%, 72.1%, 20%)
CIE-LABlab(73.66, -5.14, 62.69)
CIE-LCHlch(73.66, 62.90, 94.69°)
OKLaboklab(77.12% -0.0205 0.1389)
OKLCHoklch(77.12% 0.14 98.4)
XYZxyz(42.1663, 46.1826, 10.5632)
Luminance0.4618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB539 #3950CC
analogous
#CC6B39 #CCB539 #99CC39
triadic
#CCB539 #39CCB5 #B539CC
tetradic
#CCB539 #39CC6B #3950CC #CC3999
square
#CCB539 #39CC6B #3950CC #CC3999
split-complementary
#CCB539 #3999CC #6B39CC
monochromatic
#6E611C #9F8C29 #CCB539 #D9C76A #E5D99A

Accessibility & contrast

On white

2.05
#CCB539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#CCB539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB539
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB539#FFFFFF#000000##000000
##CCB5391.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B025
Deuteranopia (green-blind)
#CDB841
Tritanopia (blue-blind)
#DCA79C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb539;
/* rgb */ color: rgb(204, 181, 57);
/* oklch */ color: oklch(77.1% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#dfca77',
    500: '#ccb539',
    950: '#000000',
  },
}
SCSS
$custom: #ccb539;
$custom-light: #dfca77;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb539",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 57
  },
  "hsl": {
    "h": 50.612,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77124,
    "c": 0.14039,
    "h": 98.4
  },
  "luminance": 0.46181
}

Semantic roles & 50–950 ramp

primary
#CCB539
secondary
#909AD1
accent
#5EE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB539

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

Preview Lab → · Contrast checker → · Palette generator →

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