#CBCA50#CBCA50

#CBCA50 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.7% C 0.143 H 108.7°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#CBCA50
RGBrgb(203, 202, 80)
HSLhsl(60, 54%, 55%)
HSVhsv(60, 61%, 80%)
CMYKcmyk(0%, 0.5%, 60.6%, 20.4%)
CIE-LABlab(79.34, -15.00, 59.24)
CIE-LCHlch(79.34, 61.11, 104.21°)
OKLaboklab(81.67% -0.0459 0.1353)
OKLCHoklch(81.67% 0.143 108.7)
XYZxyz(47.1986, 55.5181, 15.8177)
Luminance0.5552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA50 #5051CB
analogous
#CB8C50 #CBCA50 #8ECB50
triadic
#CBCA50 #50CBCA #CA50CB
tetradic
#CBCA50 #50CB8C #5051CB #CB508E
square
#CBCA50 #50CB8C #5051CB #CB508E
split-complementary
#CBCA50 #508ECB #8C50CB
monochromatic
#7C7B25 #ABAA33 #CBCA50 #D9D87F #E7E7AE

Accessibility & contrast

On white

1.74
#CBCA50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#CBCA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA50
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA50#FFFFFF#000000##000000
##CBCA501.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C241
Deuteranopia (green-blind)
#DBC757
Tritanopia (blue-blind)
#D8BEB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbca50;
/* rgb */ color: rgb(203, 202, 80);
/* oklch */ color: oklch(81.7% 0.143 108.7);
Tailwind
colors: {
  custom: {
    50: '#ded986',
    500: '#cbca50',
    950: '#000000',
  },
}
SCSS
$custom: #cbca50;
$custom-light: #ded986;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca50",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 80
  },
  "hsl": {
    "h": 59.512,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81671,
    "c": 0.1429,
    "h": 108.7
  },
  "luminance": 0.55517
}

Semantic roles & 50–950 ramp

primary
#CBCA50
secondary
#3B3C84
accent
#4BDE4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBCA50

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

Preview Lab → · Contrast checker → · Palette generator →

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