#CBBA42#CBBA42

#CBBA42 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.1% C 0.138 H 101.1°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#CBBA42
RGBrgb(203, 186, 66)
HSLhsl(53, 57%, 53%)
HSVhsv(53, 67%, 80%)
CMYKcmyk(0%, 8.4%, 67.5%, 20.4%)
CIE-LABlab(74.96, -7.71, 60.44)
CIE-LCHlch(74.96, 60.93, 97.27°)
OKLaboklab(78.15% -0.0267 0.1357)
OKLCHoklch(78.15% 0.138 101.1)
XYZxyz(43.1727, 48.2095, 12.1845)
Luminance0.4821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBA42 #4253CB
analogous
#CB7642 #CBBA42 #97CB42
triadic
#CBBA42 #42CBBA #BA42CB
tetradic
#CBBA42 #42CB76 #4253CB #CB4297
square
#CBBA42 #42CB76 #4253CB #CB4297
split-complementary
#CBBA42 #4297CB #7642CB
monochromatic
#736920 #A3942D #CBBA42 #D8CC72 #E5DDA2

Accessibility & contrast

On white

1.97
#CBBA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#CBBA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBBA42
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBBA42#FFFFFF#000000##000000
##CBBA421.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB532
Deuteranopia (green-blind)
#D0BC49
Tritanopia (blue-blind)
#DAADA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbba42;
/* rgb */ color: rgb(203, 186, 66);
/* oklch */ color: oklch(78.1% 0.138 101.1);
Tailwind
colors: {
  custom: {
    50: '#dece7d',
    500: '#cbba42',
    950: '#000000',
  },
}
SCSS
$custom: #cbba42;
$custom-light: #dece7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbba42",
  "rgb": {
    "r": 203,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 52.555,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78148,
    "c": 0.13835,
    "h": 101.1
  },
  "luminance": 0.48208
}

Semantic roles & 50–950 ramp

primary
#CBBA42
secondary
#979ED2
accent
#5BE048
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBBA42

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

Preview Lab → · Contrast checker → · Palette generator →

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