#CABD2F#CABD2F

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

Color values

HEX#CABD2F
RGBrgb(202, 189, 47)
HSLhsl(55, 62%, 49%)
HSVhsv(55, 77%, 79%)
CMYKcmyk(0%, 6.4%, 76.7%, 20.8%)
CIE-LABlab(75.55, -10.57, 67.89)
CIE-LCHlch(75.55, 68.70, 98.85°)
OKLaboklab(78.56% -0.0367 0.1481)
OKLCHoklch(78.56% 0.153 103.9)
XYZxyz(43.0697, 49.1588, 9.9087)
Luminance0.4916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABD2F #2F3CCA
analogous
#CA702F #CABD2F #8ACA2F
triadic
#CABD2F #2FCABD #BD2FCA
tetradic
#CABD2F #2FCA70 #2F3CCA #CA2F8A
square
#CABD2F #2FCA70 #2F3CCA #CA2F8A
split-complementary
#CABD2F #2F8ACA #702FCA
monochromatic
#676018 #988F23 #CABD2F #D9CF5D #E5DE8F

Accessibility & contrast

On white

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

On black

10.83
#CABD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABD2F
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABD2F#FFFFFF#000000##000000
##CABD2F1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB60A
Deuteranopia (green-blind)
#D3BD3A
Tritanopia (blue-blind)
#D9B0A2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cabd2f;
/* rgb */ color: rgb(202, 189, 47);
/* oklch */ color: oklch(78.6% 0.153 103.9);
Tailwind
colors: {
  custom: {
    50: '#ded073',
    500: '#cabd2f',
    950: '#000000',
  },
}
SCSS
$custom: #cabd2f;
$custom-light: #ded073;
$custom-dark: #000000;
JSON
{
  "hex": "#cabd2f",
  "rgb": {
    "r": 202,
    "g": 189,
    "b": 47
  },
  "hsl": {
    "h": 54.968,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78561,
    "c": 0.15259,
    "h": 103.9
  },
  "luminance": 0.49157
}

Semantic roles & 50–950 ramp

primary
#CABD2F
secondary
#868CCF
accent
#50E542
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CABD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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