#CBC75C#CBC75C

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

Color values

HEX#CBC75C
RGBrgb(203, 199, 92)
HSLhsl(58, 52%, 58%)
HSVhsv(58, 55%, 80%)
CMYKcmyk(0%, 2%, 54.7%, 20.4%)
CIE-LABlab(78.65, -12.61, 53.15)
CIE-LCHlch(78.65, 54.63, 103.35°)
OKLaboklab(81.16% -0.0378 0.1238)
OKLCHoklch(81.16% 0.129 107)
XYZxyz(46.9851, 54.3174, 18.1324)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC75C #5C60CB
analogous
#CB8F5C #CBC75C #97CB5C
triadic
#CBC75C #5CCBC7 #C75CCB
tetradic
#CBC75C #5CCB8F #5C60CB #CB5C97
square
#CBC75C #5CCB8F #5C60CB #CB5C97
split-complementary
#CBC75C #5C97CB #8F5CCB
monochromatic
#83802A #B1AD39 #CBC75C #DAD78A #E9E7B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC75C#FFFFFF#000000##000000
##CBC75C1.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)
#D6C051
Deuteranopia (green-blind)
#D8C562
Tritanopia (blue-blind)
#D8BCAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc75c;
/* rgb */ color: rgb(203, 199, 92);
/* oklch */ color: oklch(81.2% 0.129 107.0);
Tailwind
colors: {
  custom: {
    50: '#ddd78d',
    500: '#cbc75c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc75c;
$custom-light: #ddd78d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc75c",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 92
  },
  "hsl": {
    "h": 57.838,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81155,
    "c": 0.12946,
    "h": 107
  },
  "luminance": 0.54316
}

Semantic roles & 50–950 ramp

primary
#CBC75C
secondary
#41448A
accent
#52DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC75C

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

Preview Lab → · Contrast checker → · Palette generator →

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