#CBCA35#CBCA35

#CBCA35 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.5% C 0.161 H 109.1°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#CBCA35
RGBrgb(203, 202, 53)
HSLhsl(60, 59%, 50%)
HSVhsv(60, 74%, 80%)
CMYKcmyk(0%, 0.5%, 73.9%, 20.4%)
CIE-LABlab(79.15, -16.47, 69.31)
CIE-LCHlch(79.15, 71.24, 103.37°)
OKLaboklab(81.46% -0.0527 0.1522)
OKLCHoklch(81.46% 0.161 109.1)
XYZxyz(46.3935, 55.1961, 11.5775)
Luminance0.5520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA35 #3536CB
analogous
#CB7F35 #CBCA35 #81CB35
triadic
#CBCA35 #35CBCA #CA35CB
tetradic
#CBCA35 #35CB7F #3536CB #CB3581
square
#CBCA35 #35CB7F #3536CB #CB3581
split-complementary
#CBCA35 #3581CB #7F35CB
monochromatic
#6A6A1B #9B9A28 #CBCA35 #D8D766 #E4E496

Accessibility & contrast

On white

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

On black

12.04
#CBCA35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA35
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA35#FFFFFF#000000##000000
##CBCA351.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC113
Deuteranopia (green-blind)
#DDC641
Tritanopia (blue-blind)
#DABDAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbca35;
/* rgb */ color: rgb(203, 202, 53);
/* oklch */ color: oklch(81.5% 0.161 109.1);
Tailwind
colors: {
  custom: {
    50: '#dfd978',
    500: '#cbca35',
    950: '#000000',
  },
}
SCSS
$custom: #cbca35;
$custom-light: #dfd978;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca35",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 53
  },
  "hsl": {
    "h": 59.6,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.81464,
    "c": 0.16108,
    "h": 109.1
  },
  "luminance": 0.55195
}

Semantic roles & 50–950 ramp

primary
#CBCA35
secondary
#303174
accent
#47E246
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBCA35

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

Preview Lab → · Contrast checker → · Palette generator →

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