#CACB4D#CACB4D

#CACB4D is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.8% C 0.146 H 109.7°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#CACB4D
RGBrgb(202, 203, 77)
HSLhsl(60, 55%, 55%)
HSVhsv(60, 62%, 80%)
CMYKcmyk(0.5%, 0%, 62.1%, 20.4%)
CIE-LABlab(79.50, -16.11, 60.65)
CIE-LCHlch(79.50, 62.76, 104.88°)
OKLaboklab(81.77% -0.0493 0.1379)
OKLCHoklch(81.77% 0.146 109.7)
XYZxyz(47.0541, 55.8055, 15.3126)
Luminance0.5580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB4D #4E4DCB
analogous
#CB8D4D #CACB4D #8BCB4D
triadic
#CACB4D #4DCACB #CB4DCA
tetradic
#CACB4D #4DCB8D #4E4DCB #CB4D8B
square
#CACB4D #4DCB8D #4E4DCB #CB4D8B
split-complementary
#CACB4D #4D8BCB #8D4DCB
monochromatic
#797A24 #A8A931 #CACB4D #D8D97C #E6E7AC

Accessibility & contrast

On white

1.73
#CACB4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#CACB4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACB4D
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACB4D#FFFFFF#000000##000000
##CACB4D1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC33D
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#D7BFB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacb4d;
/* rgb */ color: rgb(202, 203, 77);
/* oklch */ color: oklch(81.8% 0.146 109.7);
Tailwind
colors: {
  custom: {
    50: '#ddda85',
    500: '#cacb4d',
    950: '#000000',
  },
}
SCSS
$custom: #cacb4d;
$custom-light: #ddda85;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb4d",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 77
  },
  "hsl": {
    "h": 60.476,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81774,
    "c": 0.14646,
    "h": 109.7
  },
  "luminance": 0.55804
}

Semantic roles & 50–950 ramp

primary
#CACB4D
secondary
#3B3A82
accent
#4ADE4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CACB4D

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

Preview Lab → · Contrast checker → · Palette generator →

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