#CACB3E#CACB3E

#CACB3E is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.7% C 0.157 H 109.8°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#CACB3E
RGBrgb(202, 203, 62)
HSLhsl(60, 58%, 52%)
HSVhsv(60, 69%, 80%)
CMYKcmyk(0.5%, 0%, 69.5%, 20.4%)
CIE-LABlab(79.40, -16.97, 66.40)
CIE-LCHlch(79.40, 68.54, 104.34°)
OKLaboklab(81.65% -0.0532 0.1477)
OKLCHoklch(81.65% 0.157 109.8)
XYZxyz(46.5842, 55.6176, 12.8379)
Luminance0.5562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB3E #3F3ECB
analogous
#CB863E #CACB3E #83CB3E
triadic
#CACB3E #3ECACB #CB3ECA
tetradic
#CACB3E #3ECB86 #3F3ECB #CB3E83
square
#CACB3E #3ECB86 #3F3ECB #CB3E83
split-complementary
#CACB3E #3E83CB #863ECB
monochromatic
#70701E #A0A12B #CACB3E #D7D86E #E4E59E

Accessibility & contrast

On white

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

On black

12.12
#CACB3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACB3E
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACB3E#FFFFFF#000000##000000
##CACB3E1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC226
Deuteranopia (green-blind)
#DDC748
Tritanopia (blue-blind)
#D8BEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacb3e;
/* rgb */ color: rgb(202, 203, 62);
/* oklch */ color: oklch(81.7% 0.157 109.8);
Tailwind
colors: {
  custom: {
    50: '#deda7c',
    500: '#cacb3e',
    950: '#000000',
  },
}
SCSS
$custom: #cacb3e;
$custom-light: #deda7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb3e",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 62
  },
  "hsl": {
    "h": 60.426,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81654,
    "c": 0.15699,
    "h": 109.8
  },
  "luminance": 0.55616
}

Semantic roles & 50–950 ramp

primary
#CACB3E
secondary
#343479
accent
#47E148
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CACB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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