#CBCB58#CBCB58

#CBCB58 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 82.0% C 0.137 H 109.1°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#CBCB58
RGBrgb(203, 203, 88)
HSLhsl(60, 53%, 57%)
HSVhsv(60, 57%, 80%)
CMYKcmyk(0%, 0%, 56.7%, 20.4%)
CIE-LABlab(79.68, -14.94, 56.13)
CIE-LCHlch(79.68, 58.08, 104.90°)
OKLaboklab(81.97% -0.0449 0.1297)
OKLCHoklch(81.97% 0.137 109.1)
XYZxyz(47.7473, 56.1142, 17.5466)
Luminance0.5611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB58 #5858CB
analogous
#CB9258 #CBCB58 #92CB58
triadic
#CBCB58 #58CBCB #CB58CB
tetradic
#CBCB58 #58CB92 #5858CB #CB5892
square
#CBCB58 #58CB92 #5858CB #CB5892
split-complementary
#CBCB58 #5892CB #9258CB
monochromatic
#818128 #AFAF37 #CBCB58 #DADA87 #E8E8B5

Accessibility & contrast

On white

1.72
#CBCB58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#CBCB58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB58
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB58#FFFFFF#000000##000000
##CBCB581.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC34C
Deuteranopia (green-blind)
#DBC75E
Tritanopia (blue-blind)
#D8BFB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcb58;
/* rgb */ color: rgb(203, 203, 88);
/* oklch */ color: oklch(82.0% 0.137 109.1);
Tailwind
colors: {
  custom: {
    50: '#ddda8b',
    500: '#cbcb58',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb58;
$custom-light: #ddda8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb58",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 88
  },
  "hsl": {
    "h": 60,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81965,
    "c": 0.13727,
    "h": 109.1
  },
  "luminance": 0.56113
}

Semantic roles & 50–950 ramp

primary
#CBCB58
secondary
#3F3F88
accent
#4CDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCB58

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

Preview Lab → · Contrast checker → · Palette generator →

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