#CBB958#CBB958

#CBB958 is a light, moderate yellow. Relative luminance 0.481; OKLCH L 78.2% C 0.120 H 98.9°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#CBB958
RGBrgb(203, 185, 88)
HSLhsl(51, 53%, 57%)
HSVhsv(51, 57%, 80%)
CMYKcmyk(0%, 8.9%, 56.7%, 20.4%)
CIE-LABlab(74.89, -5.73, 50.70)
CIE-LCHlch(74.89, 51.03, 96.45°)
OKLaboklab(78.16% -0.0186 0.1181)
OKLCHoklch(78.16% 0.12 98.9)
XYZxyz(43.7406, 48.1008, 16.2110)
Luminance0.4810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB958 #586ACB
analogous
#CB8058 #CBB958 #A3CB58
triadic
#CBB958 #58CBB9 #B958CB
tetradic
#CBB958 #58CB80 #586ACB #CB58A3
square
#CBB958 #58CB80 #586ACB #CB58A3
split-complementary
#CBB958 #58A3CB #8058CB
monochromatic
#817328 #AF9C37 #CBB958 #DACD87 #E8E0B5

Accessibility & contrast

On white

1.98
#CBB958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#CBB958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB958
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB958#FFFFFF#000000##000000
##CBB9581.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54E
Deuteranopia (green-blind)
#CEBB5D
Tritanopia (blue-blind)
#D9ADA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbb958;
/* rgb */ color: rgb(203, 185, 88);
/* oklch */ color: oklch(78.2% 0.120 98.9);
Tailwind
colors: {
  custom: {
    50: '#ddcd8a',
    500: '#cbb958',
    950: '#000000',
  },
}
SCSS
$custom: #cbb958;
$custom-light: #ddcd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb958",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 88
  },
  "hsl": {
    "h": 50.609,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78157,
    "c": 0.11955,
    "h": 98.9
  },
  "luminance": 0.48099
}

Semantic roles & 50–950 ramp

primary
#CBB958
secondary
#A8AFD7
accent
#62DC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB958

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

Preview Lab → · Contrast checker → · Palette generator →

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