#CCB347#CCB347

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

Color values

HEX#CCB347
RGBrgb(204, 179, 71)
HSLhsl(49, 57%, 54%)
HSVhsv(49, 65%, 80%)
CMYKcmyk(0%, 12.3%, 65.2%, 20%)
CIE-LABlab(73.24, -3.34, 56.59)
CIE-LCHlch(73.24, 56.69, 93.38°)
OKLaboklab(76.82% -0.0138 0.1284)
OKLCHoklch(76.82% 0.129 96.1)
XYZxyz(42.1612, 45.5346, 12.5283)
Luminance0.4553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB347 #4760CC
analogous
#CC7147 #CCB347 #A3CC47
triadic
#CCB347 #47CCB3 #B347CC
tetradic
#CCB347 #47CC71 #4760CC #CC47A3
square
#CCB347 #47CC71 #4760CC #CC47A3
split-complementary
#CCB347 #47A3CC #7147CC
monochromatic
#776721 #A7912E #CCB347 #D9C777 #E7DBA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB347#FFFFFF#000000##000000
##CCB3471.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)
#C4AF3A
Deuteranopia (green-blind)
#CBB74D
Tritanopia (blue-blind)
#DCA69C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb347;
/* rgb */ color: rgb(204, 179, 71);
/* oklch */ color: oklch(76.8% 0.129 96.1);
Tailwind
colors: {
  custom: {
    50: '#dfc97f',
    500: '#ccb347',
    950: '#000000',
  },
}
SCSS
$custom: #ccb347;
$custom-light: #dfc97f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb347",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 71
  },
  "hsl": {
    "h": 48.722,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76824,
    "c": 0.1291,
    "h": 96.1
  },
  "luminance": 0.45533
}

Semantic roles & 50–950 ramp

primary
#CCB347
secondary
#9BA6D4
accent
#64E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB347

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

Preview Lab → · Contrast checker → · Palette generator →

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