#CBC75B#CBC75B

#CBC75B is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.130 H 107.0°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CBC75B
RGBrgb(203, 199, 91)
HSLhsl(58, 52%, 58%)
HSVhsv(58, 55%, 80%)
CMYKcmyk(0%, 2%, 55.2%, 20.4%)
CIE-LABlab(78.64, -12.69, 53.60)
CIE-LCHlch(78.64, 55.08, 103.32°)
OKLaboklab(81.14% -0.0382 0.1247)
OKLCHoklch(81.14% 0.13 107)
XYZxyz(46.9417, 54.3001, 17.9037)
Luminance0.5430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC75B #5B5FCB
analogous
#CB8F5B #CBC75B #97CB5B
triadic
#CBC75B #5BCBC7 #C75BCB
tetradic
#CBC75B #5BCB8F #5B5FCB #CB5B97
square
#CBC75B #5BCB8F #5B5FCB #CB5B97
split-complementary
#CBC75B #5B97CB #8F5BCB
monochromatic
#827F29 #B1AC38 #CBC75B #DAD789 #E8E7B8

Accessibility & contrast

On white

1.77
#CBC75B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#CBC75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC75B
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC75B#FFFFFF#000000##000000
##CBC75B1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C050
Deuteranopia (green-blind)
#D8C561
Tritanopia (blue-blind)
#D8BCAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc75b;
/* rgb */ color: rgb(203, 199, 91);
/* oklch */ color: oklch(81.1% 0.130 107.0);
Tailwind
colors: {
  custom: {
    50: '#ddd78d',
    500: '#cbc75b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc75b;
$custom-light: #ddd78d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc75b",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 91
  },
  "hsl": {
    "h": 57.857,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81144,
    "c": 0.13037,
    "h": 107
  },
  "luminance": 0.54299
}

Semantic roles & 50–950 ramp

primary
#CBC75B
secondary
#40438A
accent
#52DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC75B

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

Preview Lab → · Contrast checker → · Palette generator →

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