#CCB458#CCB458

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

Color values

HEX#CCB458
RGBrgb(204, 180, 88)
HSLhsl(48, 53%, 57%)
HSVhsv(48, 57%, 80%)
CMYKcmyk(0%, 11.8%, 56.9%, 20%)
CIE-LABlab(73.67, -2.70, 49.32)
CIE-LCHlch(73.67, 49.39, 93.13°)
OKLaboklab(77.21% -0.0099 0.1151)
OKLCHoklch(77.21% 0.116 94.9)
XYZxyz(42.9863, 46.1864, 15.8813)
Luminance0.4618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB458 #5870CC
analogous
#CC7A58 #CCB458 #AACC58
triadic
#CCB458 #58CCB4 #B458CC
tetradic
#CCB458 #58CC7A #5870CC #CC58AA
square
#CCB458 #58CC7A #5870CC #CC58AA
split-complementary
#CCB458 #58AACC #7A58CC
monochromatic
#826F28 #B19736 #CCB458 #DAC987 #E9DEB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB458#FFFFFF#000000##000000
##CCB4581.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)
#C4B14F
Deuteranopia (green-blind)
#CAB85C
Tritanopia (blue-blind)
#DBA89F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb458;
/* rgb */ color: rgb(204, 180, 88);
/* oklch */ color: oklch(77.2% 0.116 94.9);
Tailwind
colors: {
  custom: {
    50: '#deca8a',
    500: '#ccb458',
    950: '#000000',
  },
}
SCSS
$custom: #ccb458;
$custom-light: #deca8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb458",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 88
  },
  "hsl": {
    "h": 47.586,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.77211,
    "c": 0.11552,
    "h": 94.9
  },
  "luminance": 0.46184
}

Semantic roles & 50–950 ramp

primary
#CCB458
secondary
#A8B2D7
accent
#69DD4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB458

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

Preview Lab → · Contrast checker → · Palette generator →

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