#CCB154#CCB154

#CCB154 is a light, moderate yellow. Relative luminance 0.449; OKLCH L 76.5% C 0.117 H 93.3°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#CCB154
RGBrgb(204, 177, 84)
HSLhsl(47, 54%, 56%)
HSVhsv(47, 59%, 80%)
CMYKcmyk(0%, 13.2%, 58.8%, 20%)
CIE-LABlab(72.84, -1.42, 50.27)
CIE-LCHlch(72.84, 50.29, 91.62°)
OKLaboklab(76.55% -0.0067 0.1167)
OKLCHoklch(76.55% 0.117 93.3)
XYZxyz(42.2260, 44.9238, 14.8328)
Luminance0.4492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB154 #546FCC
analogous
#CC7554 #CCB154 #ABCC54
triadic
#CCB154 #54CCB1 #B154CC
tetradic
#CCB154 #54CC75 #546FCC #CC54AB
square
#CCB154 #54CC75 #546FCC #CC54AB
split-complementary
#CCB154 #54ABCC #7554CC
monochromatic
#806B26 #AF9334 #CCB154 #DAC783 #E8DCB2

Accessibility & contrast

On white

2.10
#CCB154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#CCB154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB154
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB154#FFFFFF#000000##000000
##CCB1541.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE4B
Deuteranopia (green-blind)
#C8B658
Tritanopia (blue-blind)
#DBA59C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb154;
/* rgb */ color: rgb(204, 177, 84);
/* oklch */ color: oklch(76.5% 0.117 93.3);
Tailwind
colors: {
  custom: {
    50: '#dec887',
    500: '#ccb154',
    950: '#000000',
  },
}
SCSS
$custom: #ccb154;
$custom-light: #dec887;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb154",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 84
  },
  "hsl": {
    "h": 46.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.76546,
    "c": 0.11686,
    "h": 93.3
  },
  "luminance": 0.44922
}

Semantic roles & 50–950 ramp

primary
#CCB154
secondary
#A5B0D7
accent
#6BDD4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB154

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

Preview Lab → · Contrast checker → · Palette generator →

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