#CBCA58#CBCA58

#CBCA58 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.8% C 0.136 H 108.6°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#CBCA58
RGBrgb(203, 202, 88)
HSLhsl(59, 53%, 57%)
HSVhsv(59, 57%, 80%)
CMYKcmyk(0%, 0.5%, 56.7%, 20.4%)
CIE-LABlab(79.41, -14.43, 55.83)
CIE-LCHlch(79.41, 57.66, 104.50°)
OKLaboklab(81.75% -0.0434 0.1291)
OKLCHoklch(81.75% 0.136 108.6)
XYZxyz(47.5119, 55.6434, 17.4681)
Luminance0.5564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA58 #5859CB
analogous
#CB9058 #CBCA58 #93CB58
triadic
#CBCA58 #58CBCA #CA58CB
tetradic
#CBCA58 #58CB90 #5859CB #CB5893
square
#CBCA58 #58CB90 #5859CB #CB5893
split-complementary
#CBCA58 #5893CB #9058CB
monochromatic
#818028 #AFAE37 #CBCA58 #DAD987 #E8E8B5

Accessibility & contrast

On white

1.73
#CBCA58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#CBCA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA58
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA58#FFFFFF#000000##000000
##CBCA581.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbca58;
/* rgb */ color: rgb(203, 202, 88);
/* oklch */ color: oklch(81.8% 0.136 108.6);
Tailwind
colors: {
  custom: {
    50: '#ddd98b',
    500: '#cbca58',
    950: '#000000',
  },
}
SCSS
$custom: #cbca58;
$custom-light: #ddd98b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca58",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 59.478,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81751,
    "c": 0.13621,
    "h": 108.6
  },
  "luminance": 0.55642
}

Semantic roles & 50–950 ramp

primary
#CBCA58
secondary
#3F4088
accent
#4DDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCA58

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

Preview Lab → · Contrast checker → · Palette generator →

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