#CCB346#CCB346

#CCB346 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.130 H 96.2°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#CCB346
RGBrgb(204, 179, 70)
HSLhsl(49, 57%, 54%)
HSVhsv(49, 66%, 80%)
CMYKcmyk(0%, 12.3%, 65.7%, 20%)
CIE-LABlab(73.23, -3.40, 57.01)
CIE-LCHlch(73.23, 57.11, 93.41°)
OKLaboklab(76.81% -0.0141 0.1291)
OKLCHoklch(76.81% 0.13 96.2)
XYZxyz(42.1294, 45.5219, 12.3607)
Luminance0.4552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB346 #465FCC
analogous
#CC7046 #CCB346 #A2CC46
triadic
#CCB346 #46CCB3 #B346CC
tetradic
#CCB346 #46CC70 #465FCC #CC46A2
square
#CCB346 #46CC70 #465FCC #CC46A2
split-complementary
#CCB346 #46A2CC #7046CC
monochromatic
#776721 #A7902E #CCB346 #D9C776 #E6DAA6

Accessibility & contrast

On white

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

On black

10.10
#CCB346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB346
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB346#FFFFFF#000000##000000
##CCB3461.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF39
Deuteranopia (green-blind)
#CBB74C
Tritanopia (blue-blind)
#DCA69C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb346;
/* rgb */ color: rgb(204, 179, 70);
/* oklch */ color: oklch(76.8% 0.130 96.2);
Tailwind
colors: {
  custom: {
    50: '#dfc97f',
    500: '#ccb346',
    950: '#000000',
  },
}
SCSS
$custom: #ccb346;
$custom-light: #dfc97f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb346",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 70
  },
  "hsl": {
    "h": 48.806,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76814,
    "c": 0.12987,
    "h": 96.2
  },
  "luminance": 0.4552
}

Semantic roles & 50–950 ramp

primary
#CCB346
secondary
#9AA5D4
accent
#64E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB346

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

Preview Lab → · Contrast checker → · Palette generator →

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