#CCB34D#CCB34D

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

Color values

HEX#CCB34D
RGBrgb(204, 179, 77)
HSLhsl(48, 55%, 55%)
HSVhsv(48, 62%, 80%)
CMYKcmyk(0%, 12.3%, 62.3%, 20%)
CIE-LABlab(73.30, -2.96, 54.00)
CIE-LCHlch(73.30, 54.08, 93.14°)
OKLaboklab(76.88% -0.012 0.1238)
OKLCHoklch(76.88% 0.124 95.5)
XYZxyz(42.3634, 45.6155, 13.5930)
Luminance0.4561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB34D #4D66CC
analogous
#CC734D #CCB34D #A6CC4D
triadic
#CCB34D #4DCCB3 #B34DCC
tetradic
#CCB34D #4DCC73 #4D66CC #CC4DA6
square
#CCB34D #4DCC73 #4D66CC #CC4DA6
split-complementary
#CCB34D #4DA6CC #734DCC
monochromatic
#7B6A23 #AB9331 #CCB34D #DAC77D #E7DCAC

Accessibility & contrast

On white

2.07
#CCB34D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB34D#FFFFFF#000000##000000
##CCB34D1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccb34d;
/* rgb */ color: rgb(204, 179, 77);
/* oklch */ color: oklch(76.9% 0.124 95.5);
Tailwind
colors: {
  custom: {
    50: '#dfc983',
    500: '#ccb34d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb34d;
$custom-light: #dfc983;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb34d",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 77
  },
  "hsl": {
    "h": 48.189,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76882,
    "c": 0.12433,
    "h": 95.5
  },
  "luminance": 0.45613
}

Semantic roles & 50–950 ramp

primary
#CCB34D
secondary
#A0AAD5
accent
#67DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB34D

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

Preview Lab → · Contrast checker → · Palette generator →

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