#CACB4F#CACB4F

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

Color values

HEX#CACB4F
RGBrgb(202, 203, 79)
HSLhsl(60, 54%, 55%)
HSVhsv(60, 61%, 80%)
CMYKcmyk(0.5%, 0%, 61.1%, 20.4%)
CIE-LABlab(79.52, -15.98, 59.83)
CIE-LCHlch(79.52, 61.93, 104.95°)
OKLaboklab(81.79% -0.0487 0.1365)
OKLCHoklch(81.79% 0.145 109.7)
XYZxyz(47.1258, 55.8342, 15.6902)
Luminance0.5583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB4F #504FCB
analogous
#CB8E4F #CACB4F #8CCB4F
triadic
#CACB4F #4FCACB #CB4FCA
tetradic
#CACB4F #4FCB8E #504FCB #CB4F8C
square
#CACB4F #4FCB8E #504FCB #CB4F8C
split-complementary
#CACB4F #4F8CCB #8E4FCB
monochromatic
#7A7B24 #A9AA32 #CACB4F #D8D97E #E6E7AD

Accessibility & contrast

On white

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

On black

12.17
#CACB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACB4F
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACB4F#FFFFFF#000000##000000
##CACB4F1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cacb4f;
/* rgb */ color: rgb(202, 203, 79);
/* oklch */ color: oklch(81.8% 0.145 109.7);
Tailwind
colors: {
  custom: {
    50: '#ddda86',
    500: '#cacb4f',
    950: '#000000',
  },
}
SCSS
$custom: #cacb4f;
$custom-light: #ddda86;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb4f",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 60.484,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81793,
    "c": 0.1449,
    "h": 109.7
  },
  "luminance": 0.55833
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CACB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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