#CCB34B#CCB34B

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

Color values

HEX#CCB34B
RGBrgb(204, 179, 75)
HSLhsl(48, 56%, 55%)
HSVhsv(48, 63%, 80%)
CMYKcmyk(0%, 12.3%, 63.2%, 20%)
CIE-LABlab(73.28, -3.09, 54.87)
CIE-LCHlch(73.28, 54.96, 93.22°)
OKLaboklab(76.86% -0.0126 0.1253)
OKLCHoklch(76.86% 0.126 95.7)
XYZxyz(42.2938, 45.5876, 13.2268)
Luminance0.4559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB34B #4B64CC
analogous
#CC734B #CCB34B #A5CC4B
triadic
#CCB34B #4BCCB3 #B34BCC
tetradic
#CCB34B #4BCC73 #4B64CC #CC4BA5
square
#CCB34B #4BCC73 #4B64CC #CC4BA5
split-complementary
#CCB34B #4BA5CC #734BCC
monochromatic
#7A6923 #AA9230 #CCB34B #DAC77B #E7DBAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB34B#FFFFFF#000000##000000
##CCB34B1.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)
#C4AF3F
Deuteranopia (green-blind)
#CAB750
Tritanopia (blue-blind)
#DBA69D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb34b;
/* rgb */ color: rgb(204, 179, 75);
/* oklch */ color: oklch(76.9% 0.126 95.7);
Tailwind
colors: {
  custom: {
    50: '#dfc982',
    500: '#ccb34b',
    950: '#000000',
  },
}
SCSS
$custom: #ccb34b;
$custom-light: #dfc982;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb34b",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 75
  },
  "hsl": {
    "h": 48.372,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76862,
    "c": 0.12595,
    "h": 95.7
  },
  "luminance": 0.45586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB34B

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

Preview Lab → · Contrast checker → · Palette generator →

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