#CBD03B#CBD03B

#CBD03B is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.8% C 0.164 H 111.4°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#CBD03B
RGBrgb(203, 208, 59)
HSLhsl(62, 61%, 52%)
HSVhsv(62, 72%, 82%)
CMYKcmyk(2.4%, 0%, 71.6%, 18.4%)
CIE-LABlab(80.81, -19.17, 68.86)
CIE-LCHlch(80.81, 71.48, 105.56°)
OKLaboklab(82.8% -0.0597 0.1523)
OKLCHoklch(82.8% 0.164 111.4)
XYZxyz(47.9755, 58.1253, 12.8289)
Luminance0.5812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD03B #403BD0
analogous
#D08A3B #CBD03B #81D03B
triadic
#CBD03B #3BCBD0 #D03BCB
tetradic
#CBD03B #3BD08A #403BD0 #D03B81
square
#CBD03B #3BD08A #403BD0 #D03B81
split-complementary
#CBD03B #3B81D0 #8A3BD0
monochromatic
#72751C #A2A628 #CBD03B #D8DC6C #E5E89E

Accessibility & contrast

On white

1.66
#CBD03B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#CBD03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD03B
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD03B#FFFFFF#000000##000000
##CBD03B1.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C71F
Deuteranopia (green-blind)
#E1CA47
Tritanopia (blue-blind)
#D9C3B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cbd03b;
/* rgb */ color: rgb(203, 208, 59);
/* oklch */ color: oklch(82.8% 0.164 111.4);
Tailwind
colors: {
  custom: {
    50: '#dede7b',
    500: '#cbd03b',
    950: '#000000',
  },
}
SCSS
$custom: #cbd03b;
$custom-light: #dede7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd03b",
  "rgb": {
    "r": 203,
    "g": 208,
    "b": 59
  },
  "hsl": {
    "h": 62.013,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.82797,
    "c": 0.16362,
    "h": 111.4
  },
  "luminance": 0.58124
}

Semantic roles & 50–950 ramp

primary
#CBD03B
secondary
#35327D
accent
#43E449
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CBD03B

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

Preview Lab → · Contrast checker → · Palette generator →

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