#CCB454#CCB454

#CCB454 is a light, moderate yellow. Relative luminance 0.461; OKLCH L 77.2% C 0.119 H 95.4°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#CCB454
RGBrgb(204, 180, 84)
HSLhsl(48, 54%, 56%)
HSVhsv(48, 59%, 80%)
CMYKcmyk(0%, 11.8%, 58.8%, 20%)
CIE-LABlab(73.62, -3.00, 51.16)
CIE-LCHlch(73.62, 51.24, 93.35°)
OKLaboklab(77.16% -0.0112 0.1186)
OKLCHoklch(77.16% 0.119 95.4)
XYZxyz(42.8251, 46.1220, 15.0325)
Luminance0.4612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB454 #546CCC
analogous
#CC7854 #CCB454 #A8CC54
triadic
#CCB454 #54CCB4 #B454CC
tetradic
#CCB454 #54CC78 #546CCC #CC54A8
square
#CCB454 #54CC78 #546CCC #CC54A8
split-complementary
#CCB454 #54A8CC #7854CC
monochromatic
#806E26 #AF9634 #CCB454 #DAC983 #E8DDB2

Accessibility & contrast

On white

2.05
#CCB454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#CCB454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB454
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB454#FFFFFF#000000##000000
##CCB4541.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B04A
Deuteranopia (green-blind)
#CBB858
Tritanopia (blue-blind)
#DBA89F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb454;
/* rgb */ color: rgb(204, 180, 84);
/* oklch */ color: oklch(77.2% 0.119 95.4);
Tailwind
colors: {
  custom: {
    50: '#deca87',
    500: '#ccb454',
    950: '#000000',
  },
}
SCSS
$custom: #ccb454;
$custom-light: #deca87;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb454",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 84
  },
  "hsl": {
    "h": 48,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.77164,
    "c": 0.11912,
    "h": 95.4
  },
  "luminance": 0.4612
}

Semantic roles & 50–950 ramp

primary
#CCB454
secondary
#A5AFD7
accent
#68DD4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130B
muted
#84827C

Preview Lab

Preview with #CCB454

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

Preview Lab → · Contrast checker → · Palette generator →

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