#CCB25A#CCB25A

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

Color values

HEX#CCB25A
RGBrgb(204, 178, 90)
HSLhsl(46, 53%, 58%)
HSVhsv(46, 56%, 80%)
CMYKcmyk(0%, 12.7%, 55.9%, 20%)
CIE-LABlab(73.17, -1.49, 47.78)
CIE-LCHlch(73.17, 47.80, 91.78°)
OKLaboklab(76.82% -0.0062 0.112)
OKLCHoklch(76.82% 0.112 93.2)
XYZxyz(42.6694, 45.4184, 16.1899)
Luminance0.4542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB25A #5A74CC
analogous
#CC795A #CCB25A #ADCC5A
triadic
#CCB25A #5ACCB2 #B25ACC
tetradic
#CCB25A #5ACC79 #5A74CC #CC5AAD
square
#CCB25A #5ACC79 #5A74CC #CC5AAD
split-complementary
#CCB25A #5AADCC #795ACC
monochromatic
#836E29 #B29637 #CCB25A #DAC889 #E9DEB7

Accessibility & contrast

On white

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

On black

10.08
#CCB25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB25A
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB25A#FFFFFF#000000##000000
##CCB25A1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccb25a;
/* rgb */ color: rgb(204, 178, 90);
/* oklch */ color: oklch(76.8% 0.112 93.2);
Tailwind
colors: {
  custom: {
    50: '#dec88b',
    500: '#ccb25a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb25a;
$custom-light: #dec88b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb25a",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 90
  },
  "hsl": {
    "h": 46.316,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.76823,
    "c": 0.11216,
    "h": 93.2
  },
  "luminance": 0.45416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB25A

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

Preview Lab → · Contrast checker → · Palette generator →

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