#CBAD51#CBAD51

#CBAD51 is a light, moderate yellow. Relative luminance 0.432; OKLCH L 75.6% C 0.116 H 91.3°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#CBAD51
RGBrgb(203, 173, 81)
HSLhsl(45, 54%, 56%)
HSVhsv(45, 60%, 80%)
CMYKcmyk(0%, 14.8%, 60.1%, 20.4%)
CIE-LABlab(71.68, 0.06, 50.33)
CIE-LCHlch(71.68, 50.33, 89.94°)
OKLaboklab(75.59% -0.0027 0.1165)
OKLCHoklch(75.59% 0.116 91.3)
XYZxyz(41.0592, 43.1799, 13.9548)
Luminance0.4318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAD51 #516FCB
analogous
#CB7051 #CBAD51 #ACCB51
triadic
#CBAD51 #51CBAD #AD51CB
tetradic
#CBAD51 #51CB70 #516FCB #CB51AC
square
#CBAD51 #51CB70 #516FCB #CB51AC
split-complementary
#CBAD51 #51ACCB #7051CB
monochromatic
#7C6725 #AC8E33 #CBAD51 #D9C380 #E7D9AF

Accessibility & contrast

On white

2.18
#CBAD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#CBAD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAD51
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAD51#FFFFFF#000000##000000
##CBAD511.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB48
Deuteranopia (green-blind)
#C5B355
Tritanopia (blue-blind)
#DAA199
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cbad51;
/* rgb */ color: rgb(203, 173, 81);
/* oklch */ color: oklch(75.6% 0.116 91.3);
Tailwind
colors: {
  custom: {
    50: '#dec585',
    500: '#cbad51',
    950: '#000000',
  },
}
SCSS
$custom: #cbad51;
$custom-light: #dec585;
$custom-dark: #000000;
JSON
{
  "hex": "#cbad51",
  "rgb": {
    "r": 203,
    "g": 173,
    "b": 81
  },
  "hsl": {
    "h": 45.246,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.75594,
    "c": 0.11649,
    "h": 91.3
  },
  "luminance": 0.43178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBAD51

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

Preview Lab → · Contrast checker → · Palette generator →

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