#CCB462#CCB462

#CCB462 is a light, moderate yellow. Relative luminance 0.464; OKLCH L 77.3% C 0.106 H 93.5°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#CCB462
RGBrgb(204, 180, 98)
HSLhsl(46, 51%, 59%)
HSVhsv(46, 52%, 80%)
CMYKcmyk(0%, 11.8%, 52%, 20%)
CIE-LABlab(73.78, -1.88, 44.59)
CIE-LCHlch(73.78, 44.63, 92.41°)
OKLaboklab(77.34% -0.0064 0.1058)
OKLCHoklch(77.34% 0.106 93.5)
XYZxyz(43.4293, 46.3636, 18.2144)
Luminance0.4636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB462 #627ACC
analogous
#CC7F62 #CCB462 #AFCC62
triadic
#CCB462 #62CCB4 #B462CC
tetradic
#CCB462 #62CC7F #627ACC #CC62AF
square
#CCB462 #62CC7F #627ACC #CC62AF
split-complementary
#CCB462 #62AFCC #7F62CC
monochromatic
#88732C #B69A3B #CCB462 #DBCA90 #EAE0BE

Accessibility & contrast

On white

2.04
#CCB462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#CCB462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB462
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB462#FFFFFF#000000##000000
##CCB4621.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B15B
Deuteranopia (green-blind)
#C9B865
Tritanopia (blue-blind)
#DAA9A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb462;
/* rgb */ color: rgb(204, 180, 98);
/* oklch */ color: oklch(77.3% 0.106 93.5);
Tailwind
colors: {
  custom: {
    50: '#deca90',
    500: '#ccb462',
    950: '#000000',
  },
}
SCSS
$custom: #ccb462;
$custom-light: #deca90;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb462",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 98
  },
  "hsl": {
    "h": 46.415,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.77338,
    "c": 0.106,
    "h": 93.5
  },
  "luminance": 0.46362
}

Semantic roles & 50–950 ramp

primary
#CCB462
secondary
#B0BADA
accent
#6DDA4D
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCB462

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

Preview Lab → · Contrast checker → · Palette generator →

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