#CCB25B#CCB25B

#CCB25B is a light, moderate yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.111 H 93.0°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#CCB25B
RGBrgb(204, 178, 91)
HSLhsl(46, 53%, 58%)
HSVhsv(46, 55%, 80%)
CMYKcmyk(0%, 12.7%, 55.4%, 20%)
CIE-LABlab(73.18, -1.41, 47.31)
CIE-LCHlch(73.18, 47.33, 91.70°)
OKLaboklab(76.83% -0.0058 0.1111)
OKLCHoklch(76.83% 0.111 93)
XYZxyz(42.7122, 45.4355, 16.4156)
Luminance0.4543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB25B #5B75CC
analogous
#CC7A5B #CCB25B #ADCC5B
triadic
#CCB25B #5BCCB2 #B25BCC
tetradic
#CCB25B #5BCC7A #5B75CC #CC5BAD
square
#CCB25B #5BCC7A #5B75CC #CC5BAD
split-complementary
#CCB25B #5BADCC #7A5BCC
monochromatic
#846F29 #B29637 #CCB25B #DBC88A #E9DEB8

Accessibility & contrast

On white

2.08
#CCB25B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#CCB25B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB25B
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB25B#FFFFFF#000000##000000
##CCB25B1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF53
Deuteranopia (green-blind)
#C9B75F
Tritanopia (blue-blind)
#DBA69E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb25b;
/* rgb */ color: rgb(204, 178, 91);
/* oklch */ color: oklch(76.8% 0.111 93.0);
Tailwind
colors: {
  custom: {
    50: '#dec88c',
    500: '#ccb25b',
    950: '#000000',
  },
}
SCSS
$custom: #ccb25b;
$custom-light: #dec88c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb25b",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 91
  },
  "hsl": {
    "h": 46.195,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.76835,
    "c": 0.11122,
    "h": 93
  },
  "luminance": 0.45433
}

Semantic roles & 50–950 ramp

primary
#CCB25B
secondary
#ABB5D8
accent
#6DDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB25B

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

Preview Lab → · Contrast checker → · Palette generator →

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