#CBD239#CBD239

#CBD239 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.2% C 0.167 H 112.2°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#CBD239
RGBrgb(203, 210, 57)
HSLhsl(63, 63%, 52%)
HSVhsv(63, 73%, 82%)
CMYKcmyk(3.3%, 0%, 72.9%, 17.6%)
CIE-LABlab(81.34, -20.25, 70.04)
CIE-LCHlch(81.34, 72.91, 106.12°)
OKLaboklab(83.22% -0.0629 0.1545)
OKLCHoklch(83.22% 0.167 112.2)
XYZxyz(48.4153, 59.0863, 12.7245)
Luminance0.5908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD239 #4039D2
analogous
#D28C39 #CBD239 #7FD239
triadic
#CBD239 #39CBD2 #D239CB
tetradic
#CBD239 #39D28C #4039D2 #D2397F
square
#CBD239 #39D28C #4039D2 #D2397F
split-complementary
#CBD239 #397FD2 #8C39D2
monochromatic
#72761B #A2A826 #CBD239 #D8DD6B #E5E99D

Accessibility & contrast

On white

1.64
#CBD239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#CBD239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD239
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD239#FFFFFF#000000##000000
##CBD2391.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C819
Deuteranopia (green-blind)
#E3CC45
Tritanopia (blue-blind)
#D9C5B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cbd239;
/* rgb */ color: rgb(203, 210, 57);
/* oklch */ color: oklch(83.2% 0.167 112.2);
Tailwind
colors: {
  custom: {
    50: '#dfdf7a',
    500: '#cbd239',
    950: '#000000',
  },
}
SCSS
$custom: #cbd239;
$custom-light: #dfdf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd239",
  "rgb": {
    "r": 203,
    "g": 210,
    "b": 57
  },
  "hsl": {
    "h": 62.745,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.83218,
    "c": 0.1668,
    "h": 112.2
  },
  "luminance": 0.59085
}

Semantic roles & 50–950 ramp

primary
#CBD239
secondary
#35317E
accent
#42E649
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CBD239

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

Preview Lab → · Contrast checker → · Palette generator →

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