#CBC75F#CBC75F

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

Color values

HEX#CBC75F
RGBrgb(203, 199, 95)
HSLhsl(58, 51%, 58%)
HSVhsv(58, 53%, 80%)
CMYKcmyk(0%, 2%, 53.2%, 20.4%)
CIE-LABlab(78.68, -12.37, 51.80)
CIE-LCHlch(78.68, 53.25, 103.43°)
OKLaboklab(81.19% -0.0368 0.1212)
OKLCHoklch(81.19% 0.127 106.9)
XYZxyz(47.1189, 54.3709, 18.8368)
Luminance0.5437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC75F #5F63CB
analogous
#CB915F #CBC75F #99CB5F
triadic
#CBC75F #5FCBC7 #C75FCB
tetradic
#CBC75F #5FCB91 #5F63CB #CB5F99
square
#CBC75F #5FCB91 #5F63CB #CB5F99
split-complementary
#CBC75F #5F99CB #915FCB
monochromatic
#85812B #B3AE3A #CBC75F #DAD78D #E9E7BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC75F#FFFFFF#000000##000000
##CBC75F1.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)
#D5C055
Deuteranopia (green-blind)
#D8C564
Tritanopia (blue-blind)
#D8BCB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc75f;
/* rgb */ color: rgb(203, 199, 95);
/* oklch */ color: oklch(81.2% 0.127 106.9);
Tailwind
colors: {
  custom: {
    50: '#ddd78f',
    500: '#cbc75f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc75f;
$custom-light: #ddd78f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc75f",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 95
  },
  "hsl": {
    "h": 57.778,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8119,
    "c": 0.12669,
    "h": 106.9
  },
  "luminance": 0.5437
}

Semantic roles & 50–950 ramp

primary
#CBC75F
secondary
#42458C
accent
#53DA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC75F

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

Preview Lab → · Contrast checker → · Palette generator →

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