#CABD38#CABD38

#CABD38 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.6% C 0.148 H 103.6°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#CABD38
RGBrgb(202, 189, 56)
HSLhsl(55, 58%, 51%)
HSVhsv(55, 72%, 79%)
CMYKcmyk(0%, 6.4%, 72.3%, 20.8%)
CIE-LABlab(75.60, -10.19, 64.88)
CIE-LCHlch(75.60, 65.68, 98.92°)
OKLaboklab(78.62% -0.0348 0.1434)
OKLCHoklch(78.62% 0.148 103.6)
XYZxyz(43.2704, 49.2390, 10.9654)
Luminance0.4924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABD38 #3845CA
analogous
#CA7438 #CABD38 #8ECA38
triadic
#CABD38 #38CABD #BD38CA
tetradic
#CABD38 #38CA74 #3845CA #CA388E
square
#CABD38 #38CA74 #3845CA #CA388E
split-complementary
#CABD38 #388ECA #7438CA
monochromatic
#6B641D #9B9129 #CABD38 #D7CD68 #E4DD99

Accessibility & contrast

On white

1.94
#CABD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#CABD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABD38
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABD38#FFFFFF#000000##000000
##CABD381.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB721
Deuteranopia (green-blind)
#D2BD41
Tritanopia (blue-blind)
#D9B0A3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cabd38;
/* rgb */ color: rgb(202, 189, 56);
/* oklch */ color: oklch(78.6% 0.148 103.6);
Tailwind
colors: {
  custom: {
    50: '#ded078',
    500: '#cabd38',
    950: '#000000',
  },
}
SCSS
$custom: #cabd38;
$custom-light: #ded078;
$custom-dark: #000000;
JSON
{
  "hex": "#cabd38",
  "rgb": {
    "r": 202,
    "g": 189,
    "b": 56
  },
  "hsl": {
    "h": 54.658,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78617,
    "c": 0.14756,
    "h": 103.6
  },
  "luminance": 0.49237
}

Semantic roles & 50–950 ramp

primary
#CABD38
secondary
#8E94CF
accent
#54E147
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CABD38

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

Preview Lab → · Contrast checker → · Palette generator →

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