#CCB349#CCB349

#CCB349 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.8% C 0.128 H 95.9°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#CCB349
RGBrgb(204, 179, 73)
HSLhsl(49, 56%, 54%)
HSVhsv(49, 64%, 80%)
CMYKcmyk(0%, 12.3%, 64.2%, 20%)
CIE-LABlab(73.26, -3.22, 55.74)
CIE-LCHlch(73.26, 55.83, 93.30°)
OKLaboklab(76.84% -0.0132 0.1269)
OKLCHoklch(76.84% 0.128 95.9)
XYZxyz(42.2264, 45.5607, 12.8719)
Luminance0.4556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB349 #4962CC
analogous
#CC7249 #CCB349 #A3CC49
triadic
#CCB349 #49CCB3 #B349CC
tetradic
#CCB349 #49CC72 #4962CC #CC49A3
square
#CCB349 #49CC72 #4962CC #CC49A3
split-complementary
#CCB349 #49A3CC #7249CC
monochromatic
#796822 #A9912F #CCB349 #D9C779 #E7DBA9

Accessibility & contrast

On white

2.08
#CCB349 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#CCB349 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB349
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB349#FFFFFF#000000##000000
##CCB3491.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3D
Deuteranopia (green-blind)
#CBB74E
Tritanopia (blue-blind)
#DBA69C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb349;
/* rgb */ color: rgb(204, 179, 73);
/* oklch */ color: oklch(76.8% 0.128 95.9);
Tailwind
colors: {
  custom: {
    50: '#dfc980',
    500: '#ccb349',
    950: '#000000',
  },
}
SCSS
$custom: #ccb349;
$custom-light: #dfc980;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb349",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 73
  },
  "hsl": {
    "h": 48.55,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76842,
    "c": 0.12754,
    "h": 95.9
  },
  "luminance": 0.45559
}

Semantic roles & 50–950 ramp

primary
#CCB349
secondary
#9DA7D4
accent
#65E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB349

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

Preview Lab → · Contrast checker → · Palette generator →

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