#CCB358#CCB358

#CCB358 is a light, moderate yellow. Relative luminance 0.458; OKLCH L 77.0% C 0.115 H 94.2°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#CCB358
RGBrgb(204, 179, 88)
HSLhsl(47, 53%, 57%)
HSVhsv(47, 57%, 80%)
CMYKcmyk(0%, 12.3%, 56.9%, 20%)
CIE-LABlab(73.41, -2.17, 49.02)
CIE-LCHlch(73.41, 49.07, 92.54°)
OKLaboklab(77.01% -0.0084 0.1145)
OKLCHoklch(77.01% 0.115 94.2)
XYZxyz(42.7851, 45.7842, 15.8142)
Luminance0.4578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB358 #5871CC
analogous
#CC7958 #CCB358 #ABCC58
triadic
#CCB358 #58CCB3 #B358CC
tetradic
#CCB358 #58CC79 #5871CC #CC58AB
square
#CCB358 #58CC79 #5871CC #CC58AB
split-complementary
#CCB358 #58ABCC #7958CC
monochromatic
#826E28 #B19636 #CCB358 #DAC887 #E9DEB6

Accessibility & contrast

On white

2.07
#CCB358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#CCB358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB358
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB358#FFFFFF#000000##000000
##CCB3581.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B04F
Deuteranopia (green-blind)
#CAB85C
Tritanopia (blue-blind)
#DBA79E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb358;
/* rgb */ color: rgb(204, 179, 88);
/* oklch */ color: oklch(77.0% 0.115 94.2);
Tailwind
colors: {
  custom: {
    50: '#dec98a',
    500: '#ccb358',
    950: '#000000',
  },
}
SCSS
$custom: #ccb358;
$custom-light: #dec98a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb358",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 88
  },
  "hsl": {
    "h": 47.069,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.77005,
    "c": 0.11476,
    "h": 94.2
  },
  "luminance": 0.45782
}

Semantic roles & 50–950 ramp

primary
#CCB358
secondary
#A8B3D7
accent
#6BDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCB358

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

Preview Lab → · Contrast checker → · Palette generator →

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