#CCB447#CCB447

#CCB447 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.0% C 0.130 H 96.8°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#CCB447
RGBrgb(204, 180, 71)
HSLhsl(49, 57%, 54%)
HSVhsv(49, 65%, 80%)
CMYKcmyk(0%, 11.8%, 65.2%, 20%)
CIE-LABlab(73.50, -3.87, 56.87)
CIE-LCHlch(73.50, 57.00, 93.89°)
OKLaboklab(77.03% -0.0153 0.129)
OKLCHoklch(77.03% 0.13 96.8)
XYZxyz(42.3623, 45.9369, 12.5954)
Luminance0.4593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB447 #475FCC
analogous
#CC7247 #CCB447 #A2CC47
triadic
#CCB447 #47CCB4 #B447CC
tetradic
#CCB447 #47CC72 #475FCC #CC47A2
square
#CCB447 #47CC72 #475FCC #CC47A2
split-complementary
#CCB447 #47A2CC #7247CC
monochromatic
#776821 #A7922E #CCB447 #D9C877 #E7DBA7

Accessibility & contrast

On white

2.06
#CCB447 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#CCB447 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB447
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB447#FFFFFF#000000##000000
##CCB4471.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03A
Deuteranopia (green-blind)
#CBB84D
Tritanopia (blue-blind)
#DBA79D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb447;
/* rgb */ color: rgb(204, 180, 71);
/* oklch */ color: oklch(77.0% 0.130 96.8);
Tailwind
colors: {
  custom: {
    50: '#dfca7f',
    500: '#ccb447',
    950: '#000000',
  },
}
SCSS
$custom: #ccb447;
$custom-light: #dfca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb447",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 71
  },
  "hsl": {
    "h": 49.173,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77031,
    "c": 0.12985,
    "h": 96.8
  },
  "luminance": 0.45935
}

Semantic roles & 50–950 ramp

primary
#CCB447
secondary
#9BA5D4
accent
#63E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB447

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

Preview Lab → · Contrast checker → · Palette generator →

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