#CBD255#CBD255

#CBD255 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.4% C 0.147 H 112.2°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#CBD255
RGBrgb(203, 210, 85)
HSLhsl(63, 58%, 58%)
HSVhsv(63, 60%, 82%)
CMYKcmyk(3.3%, 0%, 59.5%, 17.6%)
CIE-LABlab(81.54, -18.64, 59.49)
CIE-LCHlch(81.54, 62.34, 107.39°)
OKLaboklab(83.44% -0.0557 0.1365)
OKLCHoklch(83.44% 0.147 112.2)
XYZxyz(49.3161, 59.4466, 17.4690)
Luminance0.5945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD255 #5C55D2
analogous
#D29A55 #CBD255 #8CD255
triadic
#CBD255 #55CBD2 #D255CB
tetradic
#CBD255 #55D29A #5C55D2 #D2558C
square
#CBD255 #55D29A #5C55D2 #D2558C
split-complementary
#CBD255 #558CD2 #9A55D2
monochromatic
#838824 #B1B931 #CBD255 #DADF85 #E9ECB6

Accessibility & contrast

On white

1.63
#CBD255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#CBD255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD255
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD255#FFFFFF#000000##000000
##CBD2551.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C947
Deuteranopia (green-blind)
#E1CC5D
Tritanopia (blue-blind)
#D8C6B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cbd255;
/* rgb */ color: rgb(203, 210, 85);
/* oklch */ color: oklch(83.4% 0.147 112.2);
Tailwind
colors: {
  custom: {
    50: '#dddf8a',
    500: '#cbd255',
    950: '#000000',
  },
}
SCSS
$custom: #cbd255;
$custom-light: #dddf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd255",
  "rgb": {
    "r": 203,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 63.36,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83439,
    "c": 0.14742,
    "h": 112.2
  },
  "luminance": 0.59446
}

Semantic roles & 50–950 ramp

primary
#CBD255
secondary
#413C8F
accent
#46E14F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD255

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

Preview Lab → · Contrast checker → · Palette generator →

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