#CBB462#CBB462

#CBB462 is a light, moderate yellow. Relative luminance 0.462; OKLCH L 77.2% C 0.106 H 94.1°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#CBB462
RGBrgb(203, 180, 98)
HSLhsl(47, 50%, 59%)
HSVhsv(47, 52%, 80%)
CMYKcmyk(0%, 11.3%, 51.7%, 20.4%)
CIE-LABlab(73.69, -2.29, 44.46)
CIE-LCHlch(73.69, 44.52, 92.95°)
OKLaboklab(77.24% -0.0075 0.1055)
OKLCHoklch(77.24% 0.106 94.1)
XYZxyz(43.1560, 46.2227, 18.2016)
Luminance0.4622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB462 #6279CB
analogous
#CB8062 #CBB462 #AECB62
triadic
#CBB462 #62CBB4 #B462CB
tetradic
#CBB462 #62CB80 #6279CB #CB62AE
square
#CBB462 #62CB80 #6279CB #CB62AE
split-complementary
#CBB462 #62AECB #8062CB
monochromatic
#86732C #B49A3C #CBB462 #DACA90 #E9E0BE

Accessibility & contrast

On white

2.05
#CBB462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#CBB462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB462
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB462#FFFFFF#000000##000000
##CBB4621.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbb462;
/* rgb */ color: rgb(203, 180, 98);
/* oklch */ color: oklch(77.2% 0.106 94.1);
Tailwind
colors: {
  custom: {
    50: '#ddca90',
    500: '#cbb462',
    950: '#000000',
  },
}
SCSS
$custom: #cbb462;
$custom-light: #ddca90;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb462",
  "rgb": {
    "r": 203,
    "g": 180,
    "b": 98
  },
  "hsl": {
    "h": 46.857,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.77245,
    "c": 0.10581,
    "h": 94.1
  },
  "luminance": 0.46221
}

Semantic roles & 50–950 ramp

primary
#CBB462
secondary
#B0B9D9
accent
#6DDA4E
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CBB462

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

Preview Lab → · Contrast checker → · Palette generator →

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