#CCB862#CCB862

#CCB862 is a light, moderate yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.109 H 96.5°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#CCB862
RGBrgb(204, 184, 98)
HSLhsl(49, 51%, 59%)
HSVhsv(49, 52%, 80%)
CMYKcmyk(0%, 9.8%, 52%, 20%)
CIE-LABlab(74.83, -3.98, 45.85)
CIE-LCHlch(74.83, 46.02, 94.96°)
OKLaboklab(78.16% -0.0124 0.1086)
OKLCHoklch(78.16% 0.109 96.5)
XYZxyz(44.2484, 48.0020, 18.4874)
Luminance0.4800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB862 #6276CC
analogous
#CC8362 #CCB862 #ABCC62
triadic
#CCB862 #62CCB8 #B862CC
tetradic
#CCB862 #62CC83 #6276CC #CC62AB
square
#CCB862 #62CC83 #6276CC #CC62AB
split-complementary
#CCB862 #62ABCC #8362CC
monochromatic
#88762C #B69F3B #CCB862 #DBCD90 #EAE2BE

Accessibility & contrast

On white

1.98
#CCB862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#CCB862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB862
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB862#FFFFFF#000000##000000
##CCB8621.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B45A
Deuteranopia (green-blind)
#CCBB66
Tritanopia (blue-blind)
#DAADA4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb862;
/* rgb */ color: rgb(204, 184, 98);
/* oklch */ color: oklch(78.2% 0.109 96.5);
Tailwind
colors: {
  custom: {
    50: '#decd91',
    500: '#ccb862',
    950: '#000000',
  },
}
SCSS
$custom: #ccb862;
$custom-light: #decd91;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb862",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 98
  },
  "hsl": {
    "h": 48.679,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.78165,
    "c": 0.10927,
    "h": 96.5
  },
  "luminance": 0.48
}

Semantic roles & 50–950 ramp

primary
#CCB862
secondary
#B0B8DA
accent
#68DA4D
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCB862

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

Preview Lab → · Contrast checker → · Palette generator →

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