#CBD256#CBD256

#CBD256 is a very light, vivid yellow. Relative luminance 0.595; 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#CBD256
RGBrgb(203, 210, 86)
HSLhsl(63, 58%, 58%)
HSVhsv(63, 59%, 82%)
CMYKcmyk(3.3%, 0%, 59%, 17.6%)
CIE-LABlab(81.55, -18.57, 59.07)
CIE-LCHlch(81.55, 61.92, 107.45°)
OKLaboklab(83.45% -0.0554 0.1358)
OKLCHoklch(83.45% 0.147 112.2)
XYZxyz(49.3562, 59.4626, 17.6797)
Luminance0.5946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD256 #5D56D2
analogous
#D29B56 #CBD256 #8DD256
triadic
#CBD256 #56CBD2 #D256CB
tetradic
#CBD256 #56D29B #5D56D2 #D2568D
square
#CBD256 #56D29B #5D56D2 #D2568D
split-complementary
#CBD256 #568DD2 #9B56D2
monochromatic
#838925 #B2B931 #CBD256 #DADF86 #E9ECB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBD256#FFFFFF#000000##000000
##CBD2561.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)
#E1C948
Deuteranopia (green-blind)
#E1CC5E
Tritanopia (blue-blind)
#D8C6B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cbd256;
/* rgb */ color: rgb(203, 210, 86);
/* oklch */ color: oklch(83.4% 0.147 112.2);
Tailwind
colors: {
  custom: {
    50: '#dddf8a',
    500: '#cbd256',
    950: '#000000',
  },
}
SCSS
$custom: #cbd256;
$custom-light: #dddf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd256",
  "rgb": {
    "r": 203,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 63.387,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83449,
    "c": 0.1466,
    "h": 112.2
  },
  "luminance": 0.59462
}

Semantic roles & 50–950 ramp

primary
#CBD256
secondary
#413D90
accent
#47E14F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD256

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

Preview Lab → · Contrast checker → · Palette generator →

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