#CCB754#CCB754

#CCB754 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.8% C 0.122 H 97.5°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#CCB754
RGBrgb(204, 183, 84)
HSLhsl(50, 54%, 56%)
HSVhsv(50, 59%, 80%)
CMYKcmyk(0%, 10.3%, 58.8%, 20%)
CIE-LABlab(74.41, -4.57, 52.05)
CIE-LCHlch(74.41, 52.25, 95.02°)
OKLaboklab(77.79% -0.0158 0.1205)
OKLCHoklch(77.79% 0.122 97.5)
XYZxyz(43.4373, 47.3464, 15.2365)
Luminance0.4734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB754 #5469CC
analogous
#CC7B54 #CCB754 #A5CC54
triadic
#CCB754 #54CCB7 #B754CC
tetradic
#CCB754 #54CC7B #5469CC #CC54A5
square
#CCB754 #54CC7B #5469CC #CC54A5
split-complementary
#CCB754 #54A5CC #7B54CC
monochromatic
#807026 #AF9934 #CCB754 #DACB83 #E8DFB2

Accessibility & contrast

On white

2.01
#CCB754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#CCB754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB754
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB754#FFFFFF#000000##000000
##CCB7541.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34A
Deuteranopia (green-blind)
#CDBA59
Tritanopia (blue-blind)
#DBABA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb754;
/* rgb */ color: rgb(204, 183, 84);
/* oklch */ color: oklch(77.8% 0.122 97.5);
Tailwind
colors: {
  custom: {
    50: '#decc87',
    500: '#ccb754',
    950: '#000000',
  },
}
SCSS
$custom: #ccb754;
$custom-light: #decc87;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb754",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 84
  },
  "hsl": {
    "h": 49.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.77787,
    "c": 0.12152,
    "h": 97.5
  },
  "luminance": 0.47344
}

Semantic roles & 50–950 ramp

primary
#CCB754
secondary
#A5AED7
accent
#64DD4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130B
muted
#84827C

Preview Lab

Preview with #CCB754

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

Preview Lab → · Contrast checker → · Palette generator →

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