#CBC535#CBC535

#CBC535 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.4% C 0.156 H 107.0°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#CBC535
RGBrgb(203, 197, 53)
HSLhsl(58, 59%, 50%)
HSVhsv(58, 74%, 80%)
CMYKcmyk(0%, 3%, 73.9%, 20.4%)
CIE-LABlab(77.81, -13.96, 68.05)
CIE-LCHlch(77.81, 69.47, 101.59°)
OKLaboklab(80.39% -0.0457 0.1495)
OKLCHoklch(80.39% 0.156 107)
XYZxyz(45.2393, 52.8877, 11.1928)
Luminance0.5289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC535 #353BCB
analogous
#CB7A35 #CBC535 #86CB35
triadic
#CBC535 #35CBC5 #C535CB
tetradic
#CBC535 #35CB7A #353BCB #CB3586
square
#CBC535 #35CB7A #353BCB #CB3586
split-complementary
#CBC535 #3586CB #7A35CB
monochromatic
#6A671B #9B9628 #CBC535 #D8D366 #E4E196

Accessibility & contrast

On white

1.81
#CBC535 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#CBC535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC535
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC535#FFFFFF#000000##000000
##CBC5351.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD16
Deuteranopia (green-blind)
#D9C340
Tritanopia (blue-blind)
#DAB8AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc535;
/* rgb */ color: rgb(203, 197, 53);
/* oklch */ color: oklch(80.4% 0.156 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfd677',
    500: '#cbc535',
    950: '#000000',
  },
}
SCSS
$custom: #cbc535;
$custom-light: #dfd677;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc535",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 53
  },
  "hsl": {
    "h": 57.6,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.80391,
    "c": 0.15637,
    "h": 107
  },
  "luminance": 0.52886
}

Semantic roles & 50–950 ramp

primary
#CBC535
secondary
#303374
accent
#4CE246
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CBC535

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

Preview Lab → · Contrast checker → · Palette generator →

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