#CBC635#CBC635

#CBC635 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.6% C 0.157 H 107.4°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CBC635
RGBrgb(203, 198, 53)
HSLhsl(58, 59%, 50%)
HSVhsv(58, 74%, 80%)
CMYKcmyk(0%, 2.5%, 73.9%, 20.4%)
CIE-LABlab(78.08, -14.46, 68.30)
CIE-LCHlch(78.08, 69.82, 101.96°)
OKLaboklab(80.61% -0.0471 0.1501)
OKLCHoklch(80.61% 0.157 107.4)
XYZxyz(45.4671, 53.3433, 11.2687)
Luminance0.5334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC635 #353ACB
analogous
#CB7B35 #CBC635 #85CB35
triadic
#CBC635 #35CBC6 #C635CB
tetradic
#CBC635 #35CB7B #353ACB #CB3585
square
#CBC635 #35CB7B #353ACB #CB3585
split-complementary
#CBC635 #3585CB #7B35CB
monochromatic
#6A681B #9B9728 #CBC635 #D8D466 #E4E196

Accessibility & contrast

On white

1.80
#CBC635 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#CBC635 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC635
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC635#FFFFFF#000000##000000
##CBC6351.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE16
Deuteranopia (green-blind)
#D9C340
Tritanopia (blue-blind)
#DAB9AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc635;
/* rgb */ color: rgb(203, 198, 53);
/* oklch */ color: oklch(80.6% 0.157 107.4);
Tailwind
colors: {
  custom: {
    50: '#dfd777',
    500: '#cbc635',
    950: '#000000',
  },
}
SCSS
$custom: #cbc635;
$custom-light: #dfd777;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc635",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 53
  },
  "hsl": {
    "h": 58,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.80605,
    "c": 0.1573,
    "h": 107.4
  },
  "luminance": 0.53342
}

Semantic roles & 50–950 ramp

primary
#CBC635
secondary
#303274
accent
#4BE246
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CBC635

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

Preview Lab → · Contrast checker → · Palette generator →

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