#CBC75A#CBC75A

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

Color values

HEX#CBC75A
RGBrgb(203, 199, 90)
HSLhsl(58, 52%, 57%)
HSVhsv(58, 56%, 80%)
CMYKcmyk(0%, 2%, 55.7%, 20.4%)
CIE-LABlab(78.63, -12.77, 54.04)
CIE-LCHlch(78.63, 55.53, 103.29°)
OKLaboklab(81.13% -0.0385 0.1255)
OKLCHoklch(81.13% 0.131 107.1)
XYZxyz(46.8989, 54.2829, 17.6780)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC75A #5A5ECB
analogous
#CB8E5A #CBC75A #97CB5A
triadic
#CBC75A #5ACBC7 #C75ACB
tetradic
#CBC75A #5ACB8E #5A5ECB #CB5A97
square
#CBC75A #5ACB8E #5A5ECB #CB5A97
split-complementary
#CBC75A #5A97CB #8E5ACB
monochromatic
#827F29 #B0AC38 #CBC75A #DAD789 #E8E7B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC75A#FFFFFF#000000##000000
##CBC75A1.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)
#D6C04F
Deuteranopia (green-blind)
#D8C560
Tritanopia (blue-blind)
#D8BBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc75a;
/* rgb */ color: rgb(203, 199, 90);
/* oklch */ color: oklch(81.1% 0.131 107.1);
Tailwind
colors: {
  custom: {
    50: '#ddd78c',
    500: '#cbc75a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc75a;
$custom-light: #ddd78c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc75a",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 90
  },
  "hsl": {
    "h": 57.876,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81133,
    "c": 0.13127,
    "h": 107.1
  },
  "luminance": 0.54282
}

Semantic roles & 50–950 ramp

primary
#CBC75A
secondary
#404389
accent
#51DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC75A

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

Preview Lab → · Contrast checker → · Palette generator →

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