#CCB75A#CCB75A

#CCB75A is a light, moderate yellow. Relative luminance 0.474; OKLCH L 77.9% C 0.116 H 96.8°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#CCB75A
RGBrgb(204, 183, 90)
HSLhsl(49, 53%, 58%)
HSVhsv(49, 56%, 80%)
CMYKcmyk(0%, 10.3%, 55.9%, 20%)
CIE-LABlab(74.47, -4.11, 49.30)
CIE-LCHlch(74.47, 49.47, 94.77°)
OKLaboklab(77.86% -0.0138 0.1153)
OKLCHoklch(77.86% 0.116 96.8)
XYZxyz(43.6824, 47.4444, 16.5276)
Luminance0.4744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB75A #5A6FCC
analogous
#CC7E5A #CCB75A #A8CC5A
triadic
#CCB75A #5ACCB7 #B75ACC
tetradic
#CCB75A #5ACC7E #5A6FCC #CC5AA8
square
#CCB75A #5ACC7E #5A6FCC #CC5AA8
split-complementary
#CCB75A #5AA8CC #7E5ACC
monochromatic
#837229 #B29B37 #CCB75A #DACB89 #E9E0B7

Accessibility & contrast

On white

2.00
#CCB75A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#CCB75A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB75A
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB75A#FFFFFF#000000##000000
##CCB75A1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B351
Deuteranopia (green-blind)
#CCBA5E
Tritanopia (blue-blind)
#DAABA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb75a;
/* rgb */ color: rgb(204, 183, 90);
/* oklch */ color: oklch(77.9% 0.116 96.8);
Tailwind
colors: {
  custom: {
    50: '#decc8b',
    500: '#ccb75a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb75a;
$custom-light: #decc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb75a",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 90
  },
  "hsl": {
    "h": 48.947,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.77856,
    "c": 0.1161,
    "h": 96.8
  },
  "luminance": 0.47443
}

Semantic roles & 50–950 ramp

primary
#CCB75A
secondary
#AAB2D8
accent
#66DC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB75A

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

Preview Lab → · Contrast checker → · Palette generator →

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