#CCB459#CCB459

#CCB459 is a light, moderate yellow. Relative luminance 0.462; OKLCH L 77.2% C 0.115 H 94.8°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#CCB459
RGBrgb(204, 180, 89)
HSLhsl(47, 53%, 57%)
HSVhsv(47, 56%, 80%)
CMYKcmyk(0%, 11.8%, 56.4%, 20%)
CIE-LABlab(73.68, -2.62, 48.85)
CIE-LCHlch(73.68, 48.92, 93.07°)
OKLaboklab(77.22% -0.0096 0.1142)
OKLCHoklch(77.22% 0.115 94.8)
XYZxyz(43.0280, 46.2031, 16.1009)
Luminance0.4620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB459 #5971CC
analogous
#CC7A59 #CCB459 #ABCC59
triadic
#CCB459 #59CCB4 #B459CC
tetradic
#CCB459 #59CC7A #5971CC #CC59AB
square
#CCB459 #59CC7A #5971CC #CC59AB
split-complementary
#CCB459 #59ABCC #7A59CC
monochromatic
#837028 #B19836 #CCB459 #DAC988 #E9DEB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB459#FFFFFF#000000##000000
##CCB4591.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)
#C4B150
Deuteranopia (green-blind)
#CAB85D
Tritanopia (blue-blind)
#DBA89F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb459;
/* rgb */ color: rgb(204, 180, 89);
/* oklch */ color: oklch(77.2% 0.115 94.8);
Tailwind
colors: {
  custom: {
    50: '#deca8a',
    500: '#ccb459',
    950: '#000000',
  },
}
SCSS
$custom: #ccb459;
$custom-light: #deca8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb459",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 89
  },
  "hsl": {
    "h": 47.478,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.77223,
    "c": 0.11461,
    "h": 94.8
  },
  "luminance": 0.46201
}

Semantic roles & 50–950 ramp

primary
#CCB459
secondary
#A9B3D8
accent
#6ADC4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB459

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

Preview Lab → · Contrast checker → · Palette generator →

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