#CBD139#CBD139

#CBD139 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.0% C 0.166 H 111.8°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#CBD139
RGBrgb(203, 209, 57)
HSLhsl(62, 62%, 52%)
HSVhsv(62, 73%, 82%)
CMYKcmyk(2.9%, 0%, 72.7%, 18%)
CIE-LABlab(81.07, -19.76, 69.79)
CIE-LCHlch(81.07, 72.53, 105.81°)
OKLaboklab(83% -0.0615 0.1539)
OKLCHoklch(83% 0.166 111.8)
XYZxyz(48.1692, 58.5940, 12.6425)
Luminance0.5859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD139 #3F39D1
analogous
#D18B39 #CBD139 #7FD139
triadic
#CBD139 #39CBD1 #D139CB
tetradic
#CBD139 #39D18B #3F39D1 #D1397F
square
#CBD139 #39D18B #3F39D1 #D1397F
split-complementary
#CBD139 #397FD1 #8B39D1
monochromatic
#71751B #A1A627 #CBD139 #D8DD6B #E5E89C

Accessibility & contrast

On white

1.65
#CBD139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#CBD139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD139
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD139#FFFFFF#000000##000000
##CBD1391.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C71A
Deuteranopia (green-blind)
#E2CB45
Tritanopia (blue-blind)
#D9C4B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cbd139;
/* rgb */ color: rgb(203, 209, 57);
/* oklch */ color: oklch(83.0% 0.166 111.8);
Tailwind
colors: {
  custom: {
    50: '#dfde7a',
    500: '#cbd139',
    950: '#000000',
  },
}
SCSS
$custom: #cbd139;
$custom-light: #dfde7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd139",
  "rgb": {
    "r": 203,
    "g": 209,
    "b": 57
  },
  "hsl": {
    "h": 62.368,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.83001,
    "c": 0.16578,
    "h": 111.8
  },
  "luminance": 0.58593
}

Semantic roles & 50–950 ramp

primary
#CBD139
secondary
#34317D
accent
#42E549
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CBD139

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

Preview Lab → · Contrast checker → · Palette generator →

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