#CCB647#CCB647

#CCB647 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.4% C 0.131 H 98.0°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#CCB647
RGBrgb(204, 182, 71)
HSLhsl(50, 57%, 54%)
HSVhsv(50, 65%, 80%)
CMYKcmyk(0%, 10.8%, 65.2%, 20%)
CIE-LABlab(74.03, -4.91, 57.43)
CIE-LCHlch(74.03, 57.64, 94.89°)
OKLaboklab(77.45% -0.0183 0.1301)
OKLCHoklch(77.45% 0.131 98)
XYZxyz(42.7690, 46.7502, 12.7309)
Luminance0.4675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB647 #475DCC
analogous
#CC7447 #CCB647 #A0CC47
triadic
#CCB647 #47CCB6 #B647CC
tetradic
#CCB647 #47CC74 #475DCC #CC47A0
square
#CCB647 #47CC74 #475DCC #CC47A0
split-complementary
#CCB647 #47A0CC #7447CC
monochromatic
#776921 #A7932E #CCB647 #D9C977 #E7DCA7

Accessibility & contrast

On white

2.03
#CCB647 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#CCB647 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB647
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB647#FFFFFF#000000##000000
##CCB6471.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B239
Deuteranopia (green-blind)
#CDB94D
Tritanopia (blue-blind)
#DBA99F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb647;
/* rgb */ color: rgb(204, 182, 71);
/* oklch */ color: oklch(77.4% 0.131 98.0);
Tailwind
colors: {
  custom: {
    50: '#dfcb7f',
    500: '#ccb647',
    950: '#000000',
  },
}
SCSS
$custom: #ccb647;
$custom-light: #dfcb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb647",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 71
  },
  "hsl": {
    "h": 50.075,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77447,
    "c": 0.13141,
    "h": 98
  },
  "luminance": 0.46748
}

Semantic roles & 50–950 ramp

primary
#CCB647
secondary
#9BA4D4
accent
#61E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB647

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

Preview Lab → · Contrast checker → · Palette generator →

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