#CABD4F#CABD4F

#CABD4F is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.8% C 0.131 H 102.6°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#CABD4F
RGBrgb(202, 189, 79)
HSLhsl(54, 54%, 55%)
HSVhsv(54, 61%, 79%)
CMYKcmyk(0%, 6.4%, 60.9%, 20.8%)
CIE-LABlab(75.77, -8.88, 55.77)
CIE-LCHlch(75.77, 56.48, 99.04°)
OKLaboklab(78.81% -0.0286 0.1279)
OKLCHoklch(78.81% 0.131 102.6)
XYZxyz(43.9676, 49.5179, 14.6375)
Luminance0.4952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABD4F #4F5CCA
analogous
#CA804F #CABD4F #99CA4F
triadic
#CABD4F #4FCABD #BD4FCA
tetradic
#CABD4F #4FCA80 #4F5CCA #CA4F99
square
#CABD4F #4FCA80 #4F5CCA #CA4F99
split-complementary
#CABD4F #4F99CA #804FCA
monochromatic
#7A7125 #A99C33 #CABD4F #D8CF7E #E6E0AD

Accessibility & contrast

On white

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

On black

10.90
#CABD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABD4F
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABD4F#FFFFFF#000000##000000
##CABD4F1.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB743
Deuteranopia (green-blind)
#D1BD55
Tritanopia (blue-blind)
#D8B1A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabd4f;
/* rgb */ color: rgb(202, 189, 79);
/* oklch */ color: oklch(78.8% 0.131 102.6);
Tailwind
colors: {
  custom: {
    50: '#ddd085',
    500: '#cabd4f',
    950: '#000000',
  },
}
SCSS
$custom: #cabd4f;
$custom-light: #ddd085;
$custom-dark: #000000;
JSON
{
  "hex": "#cabd4f",
  "rgb": {
    "r": 202,
    "g": 189,
    "b": 79
  },
  "hsl": {
    "h": 53.659,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78809,
    "c": 0.131,
    "h": 102.6
  },
  "luminance": 0.49516
}

Semantic roles & 50–950 ramp

primary
#CABD4F
secondary
#A1A6D4
accent
#5ADD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CABD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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