#CCB34C#CCB34C

#CCB34C is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.9% C 0.125 H 95.6°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#CCB34C
RGBrgb(204, 179, 76)
HSLhsl(48, 56%, 55%)
HSVhsv(48, 63%, 80%)
CMYKcmyk(0%, 12.3%, 62.7%, 20%)
CIE-LABlab(73.29, -3.03, 54.44)
CIE-LCHlch(73.29, 54.52, 93.18°)
OKLaboklab(76.87% -0.0123 0.1245)
OKLCHoklch(76.87% 0.125 95.6)
XYZxyz(42.3283, 45.6014, 13.4085)
Luminance0.4560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB34C #4C65CC
analogous
#CC734C #CCB34C #A5CC4C
triadic
#CCB34C #4CCCB3 #B34CCC
tetradic
#CCB34C #4CCC73 #4C65CC #CC4CA5
square
#CCB34C #4CCC73 #4C65CC #CC4CA5
split-complementary
#CCB34C #4CA5CC #734CCC
monochromatic
#7B6A23 #AA9331 #CCB34C #DAC77C #E7DBAB

Accessibility & contrast

On white

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

On black

10.12
#CCB34C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB34C
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB34C#FFFFFF#000000##000000
##CCB34C1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF40
Deuteranopia (green-blind)
#CAB751
Tritanopia (blue-blind)
#DBA69D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb34c;
/* rgb */ color: rgb(204, 179, 76);
/* oklch */ color: oklch(76.9% 0.125 95.6);
Tailwind
colors: {
  custom: {
    50: '#dfc982',
    500: '#ccb34c',
    950: '#000000',
  },
}
SCSS
$custom: #ccb34c;
$custom-light: #dfc982;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb34c",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 76
  },
  "hsl": {
    "h": 48.281,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76872,
    "c": 0.12514,
    "h": 95.6
  },
  "luminance": 0.45599
}

Semantic roles & 50–950 ramp

primary
#CCB34C
secondary
#9FA9D5
accent
#66DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB34C

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

Preview Lab → · Contrast checker → · Palette generator →

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