#CBD02F#CBD02F

#CBD02F is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.7% C 0.170 H 111.4°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#CBD02F
RGBrgb(203, 208, 47)
HSLhsl(62, 63%, 50%)
HSVhsv(62, 77%, 82%)
CMYKcmyk(2.4%, 0%, 77.4%, 18.4%)
CIE-LABlab(80.75, -19.67, 72.61)
CIE-LCHlch(80.75, 75.23, 105.16°)
OKLaboklab(82.73% -0.0621 0.1582)
OKLCHoklch(82.73% 0.17 111.4)
XYZxyz(47.6993, 58.0148, 11.3741)
Luminance0.5801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD02F #342FD0
analogous
#D0842F #CBD02F #7BD02F
triadic
#CBD02F #2FCBD0 #D02FCB
tetradic
#CBD02F #2FD084 #342FD0 #D02F7B
square
#CBD02F #2FD084 #342FD0 #D02F7B
split-complementary
#CBD02F #2F7BD0 #842FD0
monochromatic
#6A6C18 #9A9E24 #CBD02F #D7DB61 #E4E793

Accessibility & contrast

On white

1.67
#CBD02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#CBD02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD02F
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD02F#FFFFFF#000000##000000
##CBD02F1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#E1CA3E
Tritanopia (blue-blind)
#D9C3B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cbd02f;
/* rgb */ color: rgb(203, 208, 47);
/* oklch */ color: oklch(82.7% 0.170 111.4);
Tailwind
colors: {
  custom: {
    50: '#dfde76',
    500: '#cbd02f',
    950: '#000000',
  },
}
SCSS
$custom: #cbd02f;
$custom-light: #dfde76;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd02f",
  "rgb": {
    "r": 203,
    "g": 208,
    "b": 47
  },
  "hsl": {
    "h": 61.863,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.82729,
    "c": 0.16995,
    "h": 111.4
  },
  "luminance": 0.58013
}

Semantic roles & 50–950 ramp

primary
#CBD02F
secondary
#302E76
accent
#42E647
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CBD02F

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

Preview Lab → · Contrast checker → · Palette generator →

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