#CBB93B#CBB93B

#CBB93B is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.9% C 0.142 H 101.0°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#CBB93B
RGBrgb(203, 185, 59)
HSLhsl(53, 58%, 51%)
HSVhsv(53, 71%, 80%)
CMYKcmyk(0%, 8.9%, 70.9%, 20.4%)
CIE-LABlab(74.64, -7.55, 62.87)
CIE-LCHlch(74.64, 63.32, 96.85°)
OKLaboklab(77.88% -0.0271 0.1397)
OKLCHoklch(77.88% 0.142 101)
XYZxyz(42.7689, 47.7121, 11.0934)
Luminance0.4771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB93B #3B4DCB
analogous
#CB713B #CBB93B #95CB3B
triadic
#CBB93B #3BCBB9 #B93BCB
tetradic
#CBB93B #3BCB71 #3B4DCB #CB3B95
square
#CBB93B #3BCB71 #3B4DCB #CB3B95
split-complementary
#CBB93B #3B95CB #713BCB
monochromatic
#6E641D #9F902A #CBB93B #D8CA6B #E5DC9C

Accessibility & contrast

On white

1.99
#CBB93B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#CBB93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB93B
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB93B#FFFFFF#000000##000000
##CBB93B1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB427
Deuteranopia (green-blind)
#CFBB43
Tritanopia (blue-blind)
#DBACA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbb93b;
/* rgb */ color: rgb(203, 185, 59);
/* oklch */ color: oklch(77.9% 0.142 101.0);
Tailwind
colors: {
  custom: {
    50: '#dfcd79',
    500: '#cbb93b',
    950: '#000000',
  },
}
SCSS
$custom: #cbb93b;
$custom-light: #dfcd79;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb93b",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 59
  },
  "hsl": {
    "h": 52.5,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77883,
    "c": 0.14226,
    "h": 101
  },
  "luminance": 0.4771
}

Semantic roles & 50–950 ramp

primary
#CBB93B
secondary
#9199D1
accent
#5AE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB93B

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

Preview Lab → · Contrast checker → · Palette generator →

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