#CBC958#CBC958

#CBC958 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.5% C 0.135 H 108.1°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CBC958
RGBrgb(203, 201, 88)
HSLhsl(59, 53%, 57%)
HSVhsv(59, 57%, 80%)
CMYKcmyk(0%, 1%, 56.7%, 20.4%)
CIE-LABlab(79.14, -13.93, 55.53)
CIE-LCHlch(79.14, 57.25, 104.08°)
OKLaboklab(81.54% -0.042 0.1285)
OKLCHoklch(81.54% 0.135 108.1)
XYZxyz(47.2781, 55.1757, 17.3901)
Luminance0.5517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC958 #585ACB
analogous
#CB9058 #CBC958 #93CB58
triadic
#CBC958 #58CBC9 #C958CB
tetradic
#CBC958 #58CB90 #585ACB #CB5893
square
#CBC958 #58CB90 #585ACB #CB5893
split-complementary
#CBC958 #5893CB #9058CB
monochromatic
#817F28 #AFAD37 #CBC958 #DAD887 #E8E7B5

Accessibility & contrast

On white

1.74
#CBC958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#CBC958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC958
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC958#FFFFFF#000000##000000
##CBC9581.001.7412.0312.03
#FFFFFF1.741.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24C
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#D8BDB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc958;
/* rgb */ color: rgb(203, 201, 88);
/* oklch */ color: oklch(81.5% 0.135 108.1);
Tailwind
colors: {
  custom: {
    50: '#ddd98b',
    500: '#cbc958',
    950: '#000000',
  },
}
SCSS
$custom: #cbc958;
$custom-light: #ddd98b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc958",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 88
  },
  "hsl": {
    "h": 58.957,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81537,
    "c": 0.13515,
    "h": 108.1
  },
  "luminance": 0.55174
}

Semantic roles & 50–950 ramp

primary
#CBC958
secondary
#3F4088
accent
#4EDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC958

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

Preview Lab → · Contrast checker → · Palette generator →

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