#CCB958#CCB958

#CCB958 is a light, moderate yellow. Relative luminance 0.482; OKLCH L 78.2% C 0.120 H 98.4°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#CCB958
RGBrgb(204, 185, 88)
HSLhsl(50, 53%, 57%)
HSVhsv(50, 57%, 80%)
CMYKcmyk(0%, 9.3%, 56.9%, 20%)
CIE-LABlab(74.98, -5.31, 50.83)
CIE-LCHlch(74.98, 51.10, 95.97°)
OKLaboklab(78.25% -0.0174 0.1184)
OKLCHoklch(78.25% 0.12 98.4)
XYZxyz(44.0139, 48.2417, 16.2238)
Luminance0.4824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB958 #586BCC
analogous
#CC7F58 #CCB958 #A5CC58
triadic
#CCB958 #58CCB9 #B958CC
tetradic
#CCB958 #58CC7F #586BCC #CC58A5
square
#CCB958 #58CC7F #586BCC #CC58A5
split-complementary
#CCB958 #58A5CC #7F58CC
monochromatic
#827328 #B19D36 #CCB958 #DACD87 #E9E0B6

Accessibility & contrast

On white

1.97
#CCB958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#CCB958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB958
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB958#FFFFFF#000000##000000
##CCB9581.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54E
Deuteranopia (green-blind)
#CEBC5D
Tritanopia (blue-blind)
#DAADA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccb958;
/* rgb */ color: rgb(204, 185, 88);
/* oklch */ color: oklch(78.2% 0.120 98.4);
Tailwind
colors: {
  custom: {
    50: '#decd8a',
    500: '#ccb958',
    950: '#000000',
  },
}
SCSS
$custom: #ccb958;
$custom-light: #decd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb958",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 88
  },
  "hsl": {
    "h": 50.172,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78248,
    "c": 0.11963,
    "h": 98.4
  },
  "luminance": 0.4824
}

Semantic roles & 50–950 ramp

primary
#CCB958
secondary
#A8B0D7
accent
#63DD4B
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB958

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

Preview Lab → · Contrast checker → · Palette generator →

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