#CCB646#CCB646

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

Color values

HEX#CCB646
RGBrgb(204, 182, 70)
HSLhsl(50, 57%, 54%)
HSVhsv(50, 66%, 80%)
CMYKcmyk(0%, 10.8%, 65.7%, 20%)
CIE-LABlab(74.02, -4.97, 57.84)
CIE-LCHlch(74.02, 58.06, 94.91°)
OKLaboklab(77.44% -0.0186 0.1309)
OKLCHoklch(77.44% 0.132 98.1)
XYZxyz(42.7372, 46.7375, 12.5633)
Luminance0.4673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB646 #465CCC
analogous
#CC7346 #CCB646 #9FCC46
triadic
#CCB646 #46CCB6 #B646CC
tetradic
#CCB646 #46CC73 #465CCC #CC469F
square
#CCB646 #46CC73 #465CCC #CC469F
split-complementary
#CCB646 #469FCC #7346CC
monochromatic
#776921 #A7932E #CCB646 #D9C976 #E6DCA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB646#FFFFFF#000000##000000
##CCB6461.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)
#C7B238
Deuteranopia (green-blind)
#CDB94C
Tritanopia (blue-blind)
#DBA99F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb646;
/* rgb */ color: rgb(204, 182, 70);
/* oklch */ color: oklch(77.4% 0.132 98.1);
Tailwind
colors: {
  custom: {
    50: '#dfcb7f',
    500: '#ccb646',
    950: '#000000',
  },
}
SCSS
$custom: #ccb646;
$custom-light: #dfcb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb646",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 70
  },
  "hsl": {
    "h": 50.149,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77438,
    "c": 0.13217,
    "h": 98.1
  },
  "luminance": 0.46735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB646

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

Preview Lab → · Contrast checker → · Palette generator →

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