#CBC250#CBC250

#CBC250 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.0% C 0.135 H 104.8°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#CBC250
RGBrgb(203, 194, 80)
HSLhsl(56, 54%, 55%)
HSVhsv(56, 61%, 80%)
CMYKcmyk(0%, 4.4%, 60.6%, 20.4%)
CIE-LABlab(77.20, -10.95, 56.92)
CIE-LCHlch(77.20, 57.96, 100.89°)
OKLaboklab(79.97% -0.0344 0.1304)
OKLCHoklch(79.97% 0.135 104.8)
XYZxyz(45.3699, 51.8608, 15.2081)
Luminance0.5186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC250 #5059CB
analogous
#CB8450 #CBC250 #96CB50
triadic
#CBC250 #50CBC2 #C250CB
tetradic
#CBC250 #50CB84 #5059CB #CB5096
square
#CBC250 #50CB84 #5059CB #CB5096
split-complementary
#CBC250 #5096CB #8450CB
monochromatic
#7C7525 #ABA233 #CBC250 #D9D27F #E7E3AE

Accessibility & contrast

On white

1.85
#CBC250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#CBC250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC250
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC250#FFFFFF#000000##000000
##CBC2501.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC43
Deuteranopia (green-blind)
#D5C156
Tritanopia (blue-blind)
#D9B6AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc250;
/* rgb */ color: rgb(203, 194, 80);
/* oklch */ color: oklch(80.0% 0.135 104.8);
Tailwind
colors: {
  custom: {
    50: '#ded486',
    500: '#cbc250',
    950: '#000000',
  },
}
SCSS
$custom: #cbc250;
$custom-light: #ded486;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc250",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 80
  },
  "hsl": {
    "h": 55.61,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79965,
    "c": 0.13486,
    "h": 104.8
  },
  "luminance": 0.51859
}

Semantic roles & 50–950 ramp

primary
#CBC250
secondary
#3B4184
accent
#55DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC250

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

Preview Lab → · Contrast checker → · Palette generator →

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