#CBD23B#CBD23B

#CBD23B is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.2% C 0.166 H 112.2°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#CBD23B
RGBrgb(203, 210, 59)
HSLhsl(63, 63%, 53%)
HSVhsv(63, 72%, 82%)
CMYKcmyk(3.3%, 0%, 71.9%, 17.6%)
CIE-LABlab(81.35, -20.16, 69.38)
CIE-LCHlch(81.35, 72.25, 106.20°)
OKLaboklab(83.23% -0.0625 0.1534)
OKLCHoklch(83.23% 0.166 112.2)
XYZxyz(48.4662, 59.1066, 12.9925)
Luminance0.5910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD23B #423BD2
analogous
#D28D3B #CBD23B #80D23B
triadic
#CBD23B #3BCBD2 #D23BCB
tetradic
#CBD23B #3BD28D #423BD2 #D23B80
square
#CBD23B #3BD28D #423BD2 #D23B80
split-complementary
#CBD23B #3B80D2 #8D3BD2
monochromatic
#73771B #A3A927 #CBD23B #D8DD6D #E5E99F

Accessibility & contrast

On white

1.64
#CBD23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#CBD23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD23B
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD23B#FFFFFF#000000##000000
##CBD23B1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C81E
Deuteranopia (green-blind)
#E2CC47
Tritanopia (blue-blind)
#D9C5B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cbd23b;
/* rgb */ color: rgb(203, 210, 59);
/* oklch */ color: oklch(83.2% 0.166 112.2);
Tailwind
colors: {
  custom: {
    50: '#dedf7b',
    500: '#cbd23b',
    950: '#000000',
  },
}
SCSS
$custom: #cbd23b;
$custom-light: #dedf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd23b",
  "rgb": {
    "r": 203,
    "g": 210,
    "b": 59
  },
  "hsl": {
    "h": 62.781,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.83231,
    "c": 0.16565,
    "h": 112.2
  },
  "luminance": 0.59105
}

Semantic roles & 50–950 ramp

primary
#CBD23B
secondary
#35327F
accent
#42E64A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CBD23B

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

Preview Lab → · Contrast checker → · Palette generator →

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