#CBD038#CBD038

#CBD038 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.8% C 0.165 H 111.4°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#CBD038
RGBrgb(203, 208, 56)
HSLhsl(62, 62%, 52%)
HSVhsv(62, 73%, 82%)
CMYKcmyk(2.4%, 0%, 73.1%, 18.4%)
CIE-LABlab(80.79, -19.31, 69.86)
CIE-LCHlch(80.79, 72.48, 105.45°)
OKLaboklab(82.78% -0.0604 0.1539)
OKLCHoklch(82.78% 0.165 111.4)
XYZxyz(47.8999, 58.0950, 12.4308)
Luminance0.5809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD038 #3D38D0
analogous
#D08938 #CBD038 #7FD038
triadic
#CBD038 #38CBD0 #D038CB
tetradic
#CBD038 #38D089 #3D38D0 #D0387F
square
#CBD038 #38D089 #3D38D0 #D0387F
split-complementary
#CBD038 #387FD0 #8938D0
monochromatic
#70731B #A0A427 #CBD038 #D8DC6A #E5E79B

Accessibility & contrast

On white

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

On black

12.62
#CBD038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD038
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD038#FFFFFF#000000##000000
##CBD0381.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C718
Deuteranopia (green-blind)
#E1CA44
Tritanopia (blue-blind)
#D9C3B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cbd038;
/* rgb */ color: rgb(203, 208, 56);
/* oklch */ color: oklch(82.8% 0.165 111.4);
Tailwind
colors: {
  custom: {
    50: '#dfde7a',
    500: '#cbd038',
    950: '#000000',
  },
}
SCSS
$custom: #cbd038;
$custom-light: #dfde7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd038",
  "rgb": {
    "r": 203,
    "g": 208,
    "b": 56
  },
  "hsl": {
    "h": 61.974,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.82778,
    "c": 0.16533,
    "h": 111.4
  },
  "luminance": 0.58094
}

Semantic roles & 50–950 ramp

primary
#CBD038
secondary
#33317B
accent
#43E548
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CBD038

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

Preview Lab → · Contrast checker → · Palette generator →

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