#CBC05B#CBC05B

#CBC05B is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.7% C 0.123 H 103.1°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#CBC05B
RGBrgb(203, 192, 91)
HSLhsl(54, 52%, 58%)
HSVhsv(54, 55%, 80%)
CMYKcmyk(0%, 5.4%, 55.2%, 20.4%)
CIE-LABlab(76.77, -9.12, 51.46)
CIE-LCHlch(76.77, 52.26, 100.05°)
OKLaboklab(79.66% -0.028 0.1201)
OKLCHoklch(79.66% 0.123 103.1)
XYZxyz(45.3680, 51.1527, 17.3792)
Luminance0.5115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC05B #5B66CB
analogous
#CB885B #CBC05B #9ECB5B
triadic
#CBC05B #5BCBC0 #C05BCB
tetradic
#CBC05B #5BCB88 #5B66CB #CB5B9E
square
#CBC05B #5BCB88 #5B66CB #CB5B9E
split-complementary
#CBC05B #5B9ECB #885BCB
monochromatic
#827A29 #B1A538 #CBC05B #DAD289 #E8E4B8

Accessibility & contrast

On white

1.87
#CBC05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#CBC05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC05B
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC05B#FFFFFF#000000##000000
##CBC05B1.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA51
Deuteranopia (green-blind)
#D3C060
Tritanopia (blue-blind)
#D9B5A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc05b;
/* rgb */ color: rgb(203, 192, 91);
/* oklch */ color: oklch(79.7% 0.123 103.1);
Tailwind
colors: {
  custom: {
    50: '#ddd28c',
    500: '#cbc05b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc05b;
$custom-light: #ddd28c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc05b",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 91
  },
  "hsl": {
    "h": 54.107,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79661,
    "c": 0.12328,
    "h": 103.1
  },
  "luminance": 0.51151
}

Semantic roles & 50–950 ramp

primary
#CBC05B
secondary
#40488A
accent
#5BDB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC05B

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

Preview Lab → · Contrast checker → · Palette generator →

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