#CCB562#CCB562

#CCB562 is a light, moderate yellow. Relative luminance 0.468; OKLCH L 77.5% C 0.107 H 94.2°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#CCB562
RGBrgb(204, 181, 98)
HSLhsl(47, 51%, 59%)
HSVhsv(47, 52%, 80%)
CMYKcmyk(0%, 11.3%, 52%, 20%)
CIE-LABlab(74.04, -2.40, 44.91)
CIE-LCHlch(74.04, 44.97, 93.06°)
OKLaboklab(77.54% -0.0079 0.1065)
OKLCHoklch(77.54% 0.107 94.2)
XYZxyz(43.6319, 46.7688, 18.2819)
Luminance0.4677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB562 #6279CC
analogous
#CC8062 #CCB562 #AECC62
triadic
#CCB562 #62CCB5 #B562CC
tetradic
#CCB562 #62CC80 #6279CC #CC62AE
square
#CCB562 #62CC80 #6279CC #CC62AE
split-complementary
#CCB562 #62AECC #8062CC
monochromatic
#88742C #B69B3B #CCB562 #DBCB90 #EAE1BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB562#FFFFFF#000000##000000
##CCB5621.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)
#C4B25B
Deuteranopia (green-blind)
#CAB965
Tritanopia (blue-blind)
#DAAAA2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb562;
/* rgb */ color: rgb(204, 181, 98);
/* oklch */ color: oklch(77.5% 0.107 94.2);
Tailwind
colors: {
  custom: {
    50: '#deca90',
    500: '#ccb562',
    950: '#000000',
  },
}
SCSS
$custom: #ccb562;
$custom-light: #deca90;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb562",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 98
  },
  "hsl": {
    "h": 46.981,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.77544,
    "c": 0.10679,
    "h": 94.2
  },
  "luminance": 0.46767
}

Semantic roles & 50–950 ramp

primary
#CCB562
secondary
#B0B9DA
accent
#6CDA4D
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCB562

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

Preview Lab → · Contrast checker → · Palette generator →

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