#CABD3F#CABD3F

#CABD3F is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.7% C 0.143 H 103.4°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#CABD3F
RGBrgb(202, 189, 63)
HSLhsl(54, 57%, 52%)
HSVhsv(54, 69%, 79%)
CMYKcmyk(0%, 6.4%, 68.8%, 20.8%)
CIE-LABlab(75.65, -9.84, 62.30)
CIE-LCHlch(75.65, 63.08, 98.98°)
OKLaboklab(78.67% -0.0331 0.1392)
OKLCHoklch(78.67% 0.143 103.4)
XYZxyz(43.4537, 49.3124, 11.9310)
Luminance0.4931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABD3F #3F4CCA
analogous
#CA773F #CABD3F #92CA3F
triadic
#CABD3F #3FCABD #BD3FCA
tetradic
#CABD3F #3FCA77 #3F4CCA #CA3F92
square
#CABD3F #3FCA77 #3F4CCA #CA3F92
split-complementary
#CABD3F #3F92CA #773FCA
monochromatic
#70681F #A0952C #CABD3F #D7CD6F #E4DE9F

Accessibility & contrast

On white

1.93
#CABD3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#CABD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABD3F
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABD3F#FFFFFF#000000##000000
##CABD3F1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72C
Deuteranopia (green-blind)
#D2BD47
Tritanopia (blue-blind)
#D9B0A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cabd3f;
/* rgb */ color: rgb(202, 189, 63);
/* oklch */ color: oklch(78.7% 0.143 103.4);
Tailwind
colors: {
  custom: {
    50: '#ded07b',
    500: '#cabd3f',
    950: '#000000',
  },
}
SCSS
$custom: #cabd3f;
$custom-light: #ded07b;
$custom-dark: #000000;
JSON
{
  "hex": "#cabd3f",
  "rgb": {
    "r": 202,
    "g": 189,
    "b": 63
  },
  "hsl": {
    "h": 54.388,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.78667,
    "c": 0.14307,
    "h": 103.4
  },
  "luminance": 0.49311
}

Semantic roles & 50–950 ramp

primary
#CABD3F
secondary
#949AD1
accent
#56E048
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CABD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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