#CBC335#CBC335

#CBC335 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.0% C 0.155 H 106.1°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#CBC335
RGBrgb(203, 195, 53)
HSLhsl(57, 59%, 50%)
HSVhsv(57, 74%, 80%)
CMYKcmyk(0%, 3.9%, 73.9%, 20.4%)
CIE-LABlab(77.27, -12.95, 67.55)
CIE-LCHlch(77.27, 68.78, 100.85°)
OKLaboklab(79.96% -0.0429 0.1485)
OKLCHoklch(79.96% 0.155 106.1)
XYZxyz(44.7882, 51.9854, 11.0424)
Luminance0.5198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC335 #353DCB
analogous
#CB7835 #CBC335 #88CB35
triadic
#CBC335 #35CBC3 #C335CB
tetradic
#CBC335 #35CB78 #353DCB #CB3588
square
#CBC335 #35CB78 #353DCB #CB3588
split-complementary
#CBC335 #3588CB #7835CB
monochromatic
#6A661B #9B9528 #CBC335 #D8D166 #E4E096

Accessibility & contrast

On white

1.84
#CBC335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#CBC335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC335
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC335#FFFFFF#000000##000000
##CBC3351.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC18
Deuteranopia (green-blind)
#D7C140
Tritanopia (blue-blind)
#DAB6A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc335;
/* rgb */ color: rgb(203, 195, 53);
/* oklch */ color: oklch(80.0% 0.155 106.1);
Tailwind
colors: {
  custom: {
    50: '#dfd477',
    500: '#cbc335',
    950: '#000000',
  },
}
SCSS
$custom: #cbc335;
$custom-light: #dfd477;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc335",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 53
  },
  "hsl": {
    "h": 56.8,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79963,
    "c": 0.15454,
    "h": 106.1
  },
  "luminance": 0.51984
}

Semantic roles & 50–950 ramp

primary
#CBC335
secondary
#303474
accent
#4EE246
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CBC335

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

Preview Lab → · Contrast checker → · Palette generator →

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