#CBBA40#CBBA40

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

Color values

HEX#CBBA40
RGBrgb(203, 186, 64)
HSLhsl(53, 57%, 52%)
HSVhsv(53, 68%, 80%)
CMYKcmyk(0%, 8.4%, 68.5%, 20.4%)
CIE-LABlab(74.94, -7.81, 61.23)
CIE-LCHlch(74.94, 61.73, 97.27°)
OKLaboklab(78.13% -0.0273 0.1371)
OKLCHoklch(78.13% 0.14 101.3)
XYZxyz(43.1148, 48.1864, 11.8794)
Luminance0.4818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBA40 #4051CB
analogous
#CB7540 #CBBA40 #96CB40
triadic
#CBBA40 #40CBBA #BA40CB
tetradic
#CBBA40 #40CB75 #4051CB #CB4096
square
#CBBA40 #40CB75 #4051CB #CB4096
split-complementary
#CBBA40 #4096CB #7540CB
monochromatic
#72681F #A2932C #CBBA40 #D8CB70 #E5DDA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBBA40#FFFFFF#000000##000000
##CBBA401.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)
#CBB52F
Deuteranopia (green-blind)
#D0BC47
Tritanopia (blue-blind)
#DAADA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbba40;
/* rgb */ color: rgb(203, 186, 64);
/* oklch */ color: oklch(78.1% 0.140 101.3);
Tailwind
colors: {
  custom: {
    50: '#dece7c',
    500: '#cbba40',
    950: '#000000',
  },
}
SCSS
$custom: #cbba40;
$custom-light: #dece7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbba40",
  "rgb": {
    "r": 203,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 52.662,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78132,
    "c": 0.13976,
    "h": 101.3
  },
  "luminance": 0.48184
}

Semantic roles & 50–950 ramp

primary
#CBBA40
secondary
#959DD2
accent
#5AE047
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBBA40

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

Preview Lab → · Contrast checker → · Palette generator →

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