#CBBF52#CBBF52

#CBBF52 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.4% C 0.130 H 103.1°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#CBBF52
RGBrgb(203, 191, 82)
HSLhsl(54, 54%, 56%)
HSVhsv(54, 60%, 80%)
CMYKcmyk(0%, 5.9%, 59.6%, 20.4%)
CIE-LABlab(76.42, -9.28, 55.17)
CIE-LCHlch(76.42, 55.95, 99.54°)
OKLaboklab(79.35% -0.0294 0.127)
OKLCHoklch(79.35% 0.13 103.1)
XYZxyz(44.7840, 50.5690, 15.3828)
Luminance0.5057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBF52 #525ECB
analogous
#CB8252 #CBBF52 #9ACB52
triadic
#CBBF52 #52CBBF #BF52CB
tetradic
#CBBF52 #52CB82 #525ECB #CB529A
square
#CBBF52 #52CB82 #525ECB #CB529A
split-complementary
#CBBF52 #529ACB #8252CB
monochromatic
#7D7426 #ACA034 #CBBF52 #D9D081 #E7E2B0

Accessibility & contrast

On white

1.89
#CBBF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#CBBF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBBF52
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBBF52#FFFFFF#000000##000000
##CBBF521.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB946
Deuteranopia (green-blind)
#D3BF58
Tritanopia (blue-blind)
#D9B3A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cbbf52;
/* rgb */ color: rgb(203, 191, 82);
/* oklch */ color: oklch(79.4% 0.130 103.1);
Tailwind
colors: {
  custom: {
    50: '#ded287',
    500: '#cbbf52',
    950: '#000000',
  },
}
SCSS
$custom: #cbbf52;
$custom-light: #ded287;
$custom-dark: #000000;
JSON
{
  "hex": "#cbbf52",
  "rgb": {
    "r": 203,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 54.05,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79351,
    "c": 0.13032,
    "h": 103.1
  },
  "luminance": 0.50567
}

Semantic roles & 50–950 ramp

primary
#CBBF52
secondary
#3C4385
accent
#59DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBBF52

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

Preview Lab → · Contrast checker → · Palette generator →

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