#CBD41F#CBD41F

#CBD41F is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.5% C 0.180 H 112.8°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#CBD41F
RGBrgb(203, 212, 31)
HSLhsl(63, 74%, 48%)
HSVhsv(63, 85%, 83%)
CMYKcmyk(4.2%, 0%, 85.4%, 16.9%)
CIE-LABlab(81.77, -22.11, 77.44)
CIE-LCHlch(81.77, 80.53, 105.94°)
OKLaboklab(83.53% -0.0699 0.1659)
OKLCHoklch(83.53% 0.18 112.8)
XYZxyz(48.4211, 59.8836, 10.3040)
Luminance0.5988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD41F #281FD4
analogous
#D4821F #CBD41F #71D41F
triadic
#CBD41F #1FCBD4 #D41FCB
tetradic
#CBD41F #1FD482 #281FD4 #D41F71
square
#CBD41F #1FD482 #281FD4 #D41F71
split-complementary
#CBD41F #1F71D4 #821FD4
monochromatic
#65690F #989F17 #CBD41F #DDE54B #E7ED81

Accessibility & contrast

On white

1.62
#CBD41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#CBD41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD41F
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD41F#FFFFFF#000000##000000
##CBD41F1.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CA00
Deuteranopia (green-blind)
#E5CD34
Tritanopia (blue-blind)
#D9C7B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cbd41f;
/* rgb */ color: rgb(203, 212, 31);
/* oklch */ color: oklch(83.5% 0.180 112.8);
Tailwind
colors: {
  custom: {
    50: '#dfe170',
    500: '#cbd41f',
    950: '#000000',
  },
}
SCSS
$custom: #cbd41f;
$custom-light: #dfe170;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd41f",
  "rgb": {
    "r": 203,
    "g": 212,
    "b": 31
  },
  "hsl": {
    "h": 62.983,
    "s": 74.486,
    "l": 47.647
  },
  "oklch": {
    "l": 0.83533,
    "c": 0.18006,
    "h": 112.8
  },
  "luminance": 0.59882
}

Semantic roles & 50–950 ramp

primary
#CBD41F
secondary
#282473
accent
#37F140
background
#FEFEFB
surface
#FDFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CBD41F

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

Preview Lab → · Contrast checker → · Palette generator →

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