#CABB4F#CABB4F

#CABB4F is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.4% C 0.129 H 101.4°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#CABB4F
RGBrgb(202, 187, 79)
HSLhsl(53, 54%, 55%)
HSVhsv(53, 61%, 79%)
CMYKcmyk(0%, 7.4%, 60.9%, 20.8%)
CIE-LABlab(75.24, -7.84, 55.19)
CIE-LCHlch(75.24, 55.75, 98.09°)
OKLaboklab(78.39% -0.0256 0.1266)
OKLCHoklch(78.39% 0.129 101.4)
XYZxyz(43.5404, 48.6635, 14.4951)
Luminance0.4866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB4F #4F5ECA
analogous
#CA7D4F #CABB4F #9BCA4F
triadic
#CABB4F #4FCABB #BB4FCA
tetradic
#CABB4F #4FCA7D #4F5ECA #CA4F9B
square
#CABB4F #4FCA7D #4F5ECA #CA4F9B
split-complementary
#CABB4F #4F9BCA #7D4FCA
monochromatic
#7A7025 #A99B33 #CABB4F #D8CD7E #E6DFAD

Accessibility & contrast

On white

1.96
#CABB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#CABB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB4F
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB4F#FFFFFF#000000##000000
##CABB4F1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB643
Deuteranopia (green-blind)
#CFBC55
Tritanopia (blue-blind)
#D8AFA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb4f;
/* rgb */ color: rgb(202, 187, 79);
/* oklch */ color: oklch(78.4% 0.129 101.4);
Tailwind
colors: {
  custom: {
    50: '#ddcf85',
    500: '#cabb4f',
    950: '#000000',
  },
}
SCSS
$custom: #cabb4f;
$custom-light: #ddcf85;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb4f",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 79
  },
  "hsl": {
    "h": 52.683,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78388,
    "c": 0.12918,
    "h": 101.4
  },
  "luminance": 0.48662
}

Semantic roles & 50–950 ramp

primary
#CABB4F
secondary
#A1A7D4
accent
#5DDD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CABB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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