#CCB058#CCB058

#CCB058 is a light, moderate yellow. Relative luminance 0.446; OKLCH L 76.4% C 0.113 H 91.9°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#CCB058
RGBrgb(204, 176, 88)
HSLhsl(46, 53%, 57%)
HSVhsv(46, 57%, 80%)
CMYKcmyk(0%, 13.7%, 56.9%, 20%)
CIE-LABlab(72.62, -0.59, 48.11)
CIE-LCHlch(72.62, 48.12, 90.70°)
OKLaboklab(76.39% -0.0038 0.1125)
OKLCHoklch(76.39% 0.113 91.9)
XYZxyz(42.1904, 44.5947, 15.6160)
Luminance0.4459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB058 #5874CC
analogous
#CC7658 #CCB058 #AECC58
triadic
#CCB058 #58CCB0 #B058CC
tetradic
#CCB058 #58CC76 #5874CC #CC58AE
square
#CCB058 #58CC76 #5874CC #CC58AE
split-complementary
#CCB058 #58AECC #7658CC
monochromatic
#826C28 #B19336 #CCB058 #DAC687 #E9DCB6

Accessibility & contrast

On white

2.12
#CCB058 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#CCB058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB058
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB058#FFFFFF#000000##000000
##CCB0581.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD50
Deuteranopia (green-blind)
#C7B65C
Tritanopia (blue-blind)
#DBA49C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb058;
/* rgb */ color: rgb(204, 176, 88);
/* oklch */ color: oklch(76.4% 0.113 91.9);
Tailwind
colors: {
  custom: {
    50: '#dec78a',
    500: '#ccb058',
    950: '#000000',
  },
}
SCSS
$custom: #ccb058;
$custom-light: #dec78a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb058",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 88
  },
  "hsl": {
    "h": 45.517,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.76388,
    "c": 0.11255,
    "h": 91.9
  },
  "luminance": 0.44593
}

Semantic roles & 50–950 ramp

primary
#CCB058
secondary
#A8B4D7
accent
#6EDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCB058

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

Preview Lab → · Contrast checker → · Palette generator →

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