#CBAE51#CBAE51

#CBAE51 is a light, moderate yellow. Relative luminance 0.436; OKLCH L 75.8% C 0.117 H 92.1°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#CBAE51
RGBrgb(203, 174, 81)
HSLhsl(46, 54%, 56%)
HSVhsv(46, 60%, 80%)
CMYKcmyk(0%, 14.3%, 60.1%, 20.4%)
CIE-LABlab(71.94, -0.47, 50.62)
CIE-LCHlch(71.94, 50.63, 90.54°)
OKLaboklab(75.8% -0.0043 0.1171)
OKLCHoklch(75.8% 0.117 92.1)
XYZxyz(41.2517, 43.5648, 14.0190)
Luminance0.4356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAE51 #516ECB
analogous
#CB7151 #CBAE51 #ABCB51
triadic
#CBAE51 #51CBAE #AE51CB
tetradic
#CBAE51 #51CB71 #516ECB #CB51AB
square
#CBAE51 #51CB71 #516ECB #CB51AB
split-complementary
#CBAE51 #51ABCB #7151CB
monochromatic
#7C6825 #AC8F33 #CBAE51 #D9C480 #E7DAAF

Accessibility & contrast

On white

2.16
#CBAE51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#CBAE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAE51
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAE51#FFFFFF#000000##000000
##CBAE511.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB47
Deuteranopia (green-blind)
#C6B455
Tritanopia (blue-blind)
#DAA299
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cbae51;
/* rgb */ color: rgb(203, 174, 81);
/* oklch */ color: oklch(75.8% 0.117 92.1);
Tailwind
colors: {
  custom: {
    50: '#dec585',
    500: '#cbae51',
    950: '#000000',
  },
}
SCSS
$custom: #cbae51;
$custom-light: #dec585;
$custom-dark: #000000;
JSON
{
  "hex": "#cbae51",
  "rgb": {
    "r": 203,
    "g": 174,
    "b": 81
  },
  "hsl": {
    "h": 45.738,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.75799,
    "c": 0.11717,
    "h": 92.1
  },
  "luminance": 0.43563
}

Semantic roles & 50–950 ramp

primary
#CBAE51
secondary
#A3AFD5
accent
#6DDD4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15120B
muted
#84817C

Preview Lab

Preview with #CBAE51

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

Preview Lab → · Contrast checker → · Palette generator →

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