#CCB368#CCB368

#CCB368 is a light, moderate yellow. Relative luminance 0.461; OKLCH L 77.2% C 0.099 H 91.5°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#CCB368
RGBrgb(204, 179, 104)
HSLhsl(45, 50%, 60%)
HSVhsv(45, 49%, 80%)
CMYKcmyk(0%, 12.3%, 49%, 20%)
CIE-LABlab(73.60, -0.81, 41.37)
CIE-LCHlch(73.60, 41.38, 91.12°)
OKLaboklab(77.22% -0.0026 0.0992)
OKLCHoklch(77.22% 0.099 91.5)
XYZxyz(43.5221, 46.0789, 19.6957)
Luminance0.4608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB368 #6881CC
analogous
#CC8168 #CCB368 #B3CC68
triadic
#CCB368 #68CCB3 #B368CC
tetradic
#CCB368 #68CC81 #6881CC #CC68B3
square
#CCB368 #68CC81 #6881CC #CC68B3
split-complementary
#CCB368 #68B3CC #8168CC
monochromatic
#8B742F #B89A3E #CCB368 #DBCA96 #EBE1C3

Accessibility & contrast

On white

2.06
#CCB368 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#CCB368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB368
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB368#FFFFFF#000000##000000
##CCB3681.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B162
Deuteranopia (green-blind)
#C8B86B
Tritanopia (blue-blind)
#DAA8A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb368;
/* rgb */ color: rgb(204, 179, 104);
/* oklch */ color: oklch(77.2% 0.099 91.5);
Tailwind
colors: {
  custom: {
    50: '#ddc994',
    500: '#ccb368',
    950: '#000000',
  },
}
SCSS
$custom: #ccb368;
$custom-light: #ddc994;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb368",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 104
  },
  "hsl": {
    "h": 45,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.77218,
    "c": 0.09919,
    "h": 91.5
  },
  "luminance": 0.46077
}

Semantic roles & 50–950 ramp

primary
#CCB368
secondary
#B5BEDB
accent
#4EBD29
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCB368

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

Preview Lab → · Contrast checker → · Palette generator →

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