#CCB95E#CCB95E

#CCB95E is a light, moderate yellow. Relative luminance 0.483; OKLCH L 78.3% C 0.114 H 97.8°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#CCB95E
RGBrgb(204, 185, 94)
HSLhsl(50, 52%, 58%)
HSVhsv(50, 54%, 80%)
CMYKcmyk(0%, 9.3%, 53.9%, 20%)
CIE-LABlab(75.04, -4.84, 48.05)
CIE-LCHlch(75.04, 48.29, 95.75°)
OKLaboklab(78.32% -0.0154 0.113)
OKLCHoklch(78.32% 0.114 97.8)
XYZxyz(44.2727, 48.3452, 17.5870)
Luminance0.4834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB95E #5E71CC
analogous
#CC825E #CCB95E #A8CC5E
triadic
#CCB95E #5ECCB9 #B95ECC
tetradic
#CCB95E #5ECC82 #5E71CC #CC5EA8
square
#CCB95E #5ECC82 #5E71CC #CC5EA8
split-complementary
#CCB95E #5EA8CC #825ECC
monochromatic
#85762A #B49F39 #CCB95E #DBCD8C #E9E1BB

Accessibility & contrast

On white

1.97
#CCB95E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#CCB95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB95E
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB95E#FFFFFF#000000##000000
##CCB95E1.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B556
Deuteranopia (green-blind)
#CDBC62
Tritanopia (blue-blind)
#DAAEA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccb95e;
/* rgb */ color: rgb(204, 185, 94);
/* oklch */ color: oklch(78.3% 0.114 97.8);
Tailwind
colors: {
  custom: {
    50: '#decd8e',
    500: '#ccb95e',
    950: '#000000',
  },
}
SCSS
$custom: #ccb95e;
$custom-light: #decd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb95e",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 94
  },
  "hsl": {
    "h": 49.636,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.78321,
    "c": 0.11402,
    "h": 97.8
  },
  "luminance": 0.48343
}

Semantic roles & 50–950 ramp

primary
#CCB95E
secondary
#ADB5D9
accent
#65DB4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB95E

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

Preview Lab → · Contrast checker → · Palette generator →

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