#CCB839#CCB839

#CCB839 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.8% C 0.143 H 100.1°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#CCB839
RGBrgb(204, 184, 57)
HSLhsl(52, 59%, 51%)
HSVhsv(52, 72%, 80%)
CMYKcmyk(0%, 9.8%, 72.1%, 20%)
CIE-LABlab(74.45, -6.70, 63.47)
CIE-LCHlch(74.45, 63.82, 96.03°)
OKLaboklab(77.75% -0.0249 0.1405)
OKLCHoklch(77.75% 0.143 100.1)
XYZxyz(42.7829, 47.4158, 10.7687)
Luminance0.4741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB839 #394DCC
analogous
#CC6E39 #CCB839 #96CC39
triadic
#CCB839 #39CCB8 #B839CC
tetradic
#CCB839 #39CC6E #394DCC #CC3996
square
#CCB839 #39CC6E #394DCC #CC3996
split-complementary
#CCB839 #3996CC #6E39CC
monochromatic
#6E631C #9F8F29 #CCB839 #D9C96A #E5DB9A

Accessibility & contrast

On white

2.00
#CCB839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#CCB839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB839
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB839#FFFFFF#000000##000000
##CCB8391.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB324
Deuteranopia (green-blind)
#CFBA41
Tritanopia (blue-blind)
#DCAB9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb839;
/* rgb */ color: rgb(204, 184, 57);
/* oklch */ color: oklch(77.8% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#dfcc78',
    500: '#ccb839',
    950: '#000000',
  },
}
SCSS
$custom: #ccb839;
$custom-light: #dfcc78;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb839",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 57
  },
  "hsl": {
    "h": 51.837,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77751,
    "c": 0.14271,
    "h": 100.1
  },
  "luminance": 0.47414
}

Semantic roles & 50–950 ramp

primary
#CCB839
secondary
#9099D1
accent
#5BE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB839

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

Preview Lab → · Contrast checker → · Palette generator →

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