#CBD04F#CBD04F

#CBD04F is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.0% C 0.150 H 111.4°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CBD04F
RGBrgb(203, 208, 79)
HSLhsl(62, 58%, 56%)
HSVhsv(62, 62%, 82%)
CMYKcmyk(2.4%, 0%, 62%, 18.4%)
CIE-LABlab(80.95, -18.06, 61.38)
CIE-LCHlch(80.95, 63.98, 106.39°)
OKLaboklab(82.95% -0.0546 0.1397)
OKLCHoklch(82.95% 0.15 111.4)
XYZxyz(48.5971, 58.3739, 16.1029)
Luminance0.5837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD04F #544FD0
analogous
#D0954F #CBD04F #8BD04F
triadic
#CBD04F #4FCBD0 #D04FCB
tetradic
#CBD04F #4FD095 #544FD0 #D04F8B
square
#CBD04F #4FD095 #544FD0 #D04F8B
split-complementary
#CBD04F #4F8BD0 #954FD0
monochromatic
#7E8223 #ADB230 #CBD04F #D9DD7F #E8EAB0

Accessibility & contrast

On white

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

On black

12.67
#CBD04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD04F
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD04F#FFFFFF#000000##000000
##CBD04F1.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73F
Deuteranopia (green-blind)
#E0CB57
Tritanopia (blue-blind)
#D8C4B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cbd04f;
/* rgb */ color: rgb(203, 208, 79);
/* oklch */ color: oklch(83.0% 0.150 111.4);
Tailwind
colors: {
  custom: {
    50: '#dede86',
    500: '#cbd04f',
    950: '#000000',
  },
}
SCSS
$custom: #cbd04f;
$custom-light: #dede86;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd04f",
  "rgb": {
    "r": 203,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 62.326,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82952,
    "c": 0.15001,
    "h": 111.4
  },
  "luminance": 0.58373
}

Semantic roles & 50–950 ramp

primary
#CBD04F
secondary
#3D3A89
accent
#47E14D
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD04F

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

Preview Lab → · Contrast checker → · Palette generator →

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