#CBB642#CBB642

#CBB642 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.3% C 0.135 H 98.9°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#CBB642
RGBrgb(203, 182, 66)
HSLhsl(51, 57%, 53%)
HSVhsv(51, 67%, 80%)
CMYKcmyk(0%, 10.3%, 67.5%, 20.4%)
CIE-LABlab(73.90, -5.63, 59.36)
CIE-LCHlch(73.90, 59.62, 95.42°)
OKLaboklab(77.31% -0.0208 0.1335)
OKLCHoklch(77.31% 0.135 98.9)
XYZxyz(42.3418, 46.5477, 11.9075)
Luminance0.4655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB642 #4257CB
analogous
#CB7242 #CBB642 #9BCB42
triadic
#CBB642 #42CBB6 #B642CB
tetradic
#CBB642 #42CB72 #4257CB #CB429B
square
#CBB642 #42CB72 #4257CB #CB429B
split-complementary
#CBB642 #429BCB #7242CB
monochromatic
#736620 #A3912D #CBB642 #D8C972 #E5DBA2

Accessibility & contrast

On white

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

On black

10.31
#CBB642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB642
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB642#FFFFFF#000000##000000
##CBB6421.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B132
Deuteranopia (green-blind)
#CDB949
Tritanopia (blue-blind)
#DAA99E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cbb642;
/* rgb */ color: rgb(203, 182, 66);
/* oklch */ color: oklch(77.3% 0.135 98.9);
Tailwind
colors: {
  custom: {
    50: '#decb7c',
    500: '#cbb642',
    950: '#000000',
  },
}
SCSS
$custom: #cbb642;
$custom-light: #decb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb642",
  "rgb": {
    "r": 203,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 50.803,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.7731,
    "c": 0.13507,
    "h": 98.9
  },
  "luminance": 0.46546
}

Semantic roles & 50–950 ramp

primary
#CBB642
secondary
#97A0D2
accent
#5FE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB642

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

Preview Lab → · Contrast checker → · Palette generator →

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