#CCB34A#CCB34A

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

Color values

HEX#CCB34A
RGBrgb(204, 179, 74)
HSLhsl(48, 56%, 55%)
HSVhsv(48, 64%, 80%)
CMYKcmyk(0%, 12.3%, 63.7%, 20%)
CIE-LABlab(73.27, -3.16, 55.31)
CIE-LCHlch(73.27, 55.40, 93.27°)
OKLaboklab(76.85% -0.0129 0.1261)
OKLCHoklch(76.85% 0.127 95.8)
XYZxyz(42.2599, 45.5741, 13.0479)
Luminance0.4557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB34A #4A63CC
analogous
#CC724A #CCB34A #A4CC4A
triadic
#CCB34A #4ACCB3 #B34ACC
tetradic
#CCB34A #4ACC72 #4A63CC #CC4AA4
square
#CCB34A #4ACC72 #4A63CC #CC4AA4
split-complementary
#CCB34A #4AA4CC #724ACC
monochromatic
#796922 #A99230 #CCB34A #D9C77A #E7DBA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB34A#FFFFFF#000000##000000
##CCB34A1.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)
#C4AF3E
Deuteranopia (green-blind)
#CBB74F
Tritanopia (blue-blind)
#DBA69D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb34a;
/* rgb */ color: rgb(204, 179, 74);
/* oklch */ color: oklch(76.9% 0.127 95.8);
Tailwind
colors: {
  custom: {
    50: '#dfc981',
    500: '#ccb34a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb34a;
$custom-light: #dfc981;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb34a",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 74
  },
  "hsl": {
    "h": 48.462,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76852,
    "c": 0.12676,
    "h": 95.8
  },
  "luminance": 0.45572
}

Semantic roles & 50–950 ramp

primary
#CCB34A
secondary
#9DA8D4
accent
#65DF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB34A

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

Preview Lab → · Contrast checker → · Palette generator →

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