#CBC935#CBC935

#CBC935 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.2% C 0.160 H 108.7°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CBC935
RGBrgb(203, 201, 53)
HSLhsl(59, 59%, 50%)
HSVhsv(59, 74%, 80%)
CMYKcmyk(0%, 1%, 73.9%, 20.4%)
CIE-LABlab(78.88, -15.97, 69.06)
CIE-LCHlch(78.88, 70.88, 103.02°)
OKLaboklab(81.25% -0.0513 0.1517)
OKLCHoklch(81.25% 0.16 108.7)
XYZxyz(46.1596, 54.7283, 11.4996)
Luminance0.5473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC935 #3537CB
analogous
#CB7E35 #CBC935 #82CB35
triadic
#CBC935 #35CBC9 #C935CB
tetradic
#CBC935 #35CB7E #3537CB #CB3582
square
#CBC935 #35CB7E #3537CB #CB3582
split-complementary
#CBC935 #3582CB #7E35CB
monochromatic
#6A691B #9B9928 #CBC935 #D8D666 #E4E396

Accessibility & contrast

On white

1.76
#CBC935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CBC935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC935
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC935#FFFFFF#000000##000000
##CBC9351.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC114
Deuteranopia (green-blind)
#DCC641
Tritanopia (blue-blind)
#DABCAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc935;
/* rgb */ color: rgb(203, 201, 53);
/* oklch */ color: oklch(81.2% 0.160 108.7);
Tailwind
colors: {
  custom: {
    50: '#dfd977',
    500: '#cbc935',
    950: '#000000',
  },
}
SCSS
$custom: #cbc935;
$custom-light: #dfd977;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc935",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 53
  },
  "hsl": {
    "h": 59.2,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.81249,
    "c": 0.16013,
    "h": 108.7
  },
  "luminance": 0.54727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC935

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

Preview Lab → · Contrast checker → · Palette generator →

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