#CBC75E#CBC75E

#CBC75E is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.128 H 106.9°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CBC75E
RGBrgb(203, 199, 94)
HSLhsl(58, 51%, 58%)
HSVhsv(58, 54%, 80%)
CMYKcmyk(0%, 2%, 53.7%, 20.4%)
CIE-LABlab(78.67, -12.45, 52.25)
CIE-LCHlch(78.67, 53.71, 103.41°)
OKLaboklab(81.18% -0.0372 0.1221)
OKLCHoklch(81.18% 0.128 106.9)
XYZxyz(47.0737, 54.3529, 18.5990)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC75E #5E62CB
analogous
#CB905E #CBC75E #98CB5E
triadic
#CBC75E #5ECBC7 #C75ECB
tetradic
#CBC75E #5ECB90 #5E62CB #CB5E98
square
#CBC75E #5ECB90 #5E62CB #CB5E98
split-complementary
#CBC75E #5E98CB #905ECB
monochromatic
#84812B #B2AE3A #CBC75E #DAD78C #E9E7BB

Accessibility & contrast

On white

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

On black

11.87
#CBC75E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC75E
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC75E#FFFFFF#000000##000000
##CBC75E1.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C054
Deuteranopia (green-blind)
#D8C563
Tritanopia (blue-blind)
#D8BCB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc75e;
/* rgb */ color: rgb(203, 199, 94);
/* oklch */ color: oklch(81.2% 0.128 106.9);
Tailwind
colors: {
  custom: {
    50: '#ddd78f',
    500: '#cbc75e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc75e;
$custom-light: #ddd78f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc75e",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 94
  },
  "hsl": {
    "h": 57.798,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81178,
    "c": 0.12762,
    "h": 106.9
  },
  "luminance": 0.54352
}

Semantic roles & 50–950 ramp

primary
#CBC75E
secondary
#42458B
accent
#52DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC75E

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

Preview Lab → · Contrast checker → · Palette generator →

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