#CCB259#CCB259

#CCB259 is a light, moderate yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.113 H 93.3°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#CCB259
RGBrgb(204, 178, 89)
HSLhsl(46, 53%, 57%)
HSVhsv(46, 56%, 80%)
CMYKcmyk(0%, 12.7%, 56.4%, 20%)
CIE-LABlab(73.16, -1.57, 48.25)
CIE-LCHlch(73.16, 48.27, 91.86°)
OKLaboklab(76.81% -0.0065 0.1129)
OKLCHoklch(76.81% 0.113 93.3)
XYZxyz(42.6271, 45.4015, 15.9673)
Luminance0.4540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB259 #5973CC
analogous
#CC7959 #CCB259 #ACCC59
triadic
#CCB259 #59CCB2 #B259CC
tetradic
#CCB259 #59CC79 #5973CC #CC59AC
square
#CCB259 #59CC79 #5973CC #CC59AC
split-complementary
#CCB259 #59ACCC #7959CC
monochromatic
#836E28 #B19636 #CCB259 #DAC888 #E9DDB7

Accessibility & contrast

On white

2.08
#CCB259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#CCB259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB259
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB259#FFFFFF#000000##000000
##CCB2591.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF51
Deuteranopia (green-blind)
#C9B75D
Tritanopia (blue-blind)
#DBA69E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb259;
/* rgb */ color: rgb(204, 178, 89);
/* oklch */ color: oklch(76.8% 0.113 93.3);
Tailwind
colors: {
  custom: {
    50: '#dec88a',
    500: '#ccb259',
    950: '#000000',
  },
}
SCSS
$custom: #ccb259;
$custom-light: #dec88a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb259",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 89
  },
  "hsl": {
    "h": 46.435,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.76811,
    "c": 0.11308,
    "h": 93.3
  },
  "luminance": 0.45399
}

Semantic roles & 50–950 ramp

primary
#CCB259
secondary
#A9B4D8
accent
#6CDC4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB259

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

Preview Lab → · Contrast checker → · Palette generator →

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