#CACB3D#CACB3D

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

Color values

HEX#CACB3D
RGBrgb(202, 203, 61)
HSLhsl(60, 58%, 52%)
HSVhsv(60, 70%, 80%)
CMYKcmyk(0.5%, 0%, 70%, 20.4%)
CIE-LABlab(79.39, -17.02, 66.76)
CIE-LCHlch(79.39, 68.89, 104.30°)
OKLaboklab(81.65% -0.0535 0.1483)
OKLCHoklch(81.65% 0.158 109.8)
XYZxyz(46.5570, 55.6067, 12.6947)
Luminance0.5561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB3D #3E3DCB
analogous
#CB853D #CACB3D #83CB3D
triadic
#CACB3D #3DCACB #CB3DCA
tetradic
#CACB3D #3DCB85 #3E3DCB #CB3D83
square
#CACB3D #3DCB85 #3E3DCB #CB3D83
split-complementary
#CACB3D #3D83CB #853DCB
monochromatic
#6F701E #9FA02B #CACB3D #D7D86D #E4E59E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACB3D#FFFFFF#000000##000000
##CACB3D1.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)
#DBC224
Deuteranopia (green-blind)
#DDC747
Tritanopia (blue-blind)
#D8BEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacb3d;
/* rgb */ color: rgb(202, 203, 61);
/* oklch */ color: oklch(81.6% 0.158 109.8);
Tailwind
colors: {
  custom: {
    50: '#deda7c',
    500: '#cacb3d',
    950: '#000000',
  },
}
SCSS
$custom: #cacb3d;
$custom-light: #deda7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb3d",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 61
  },
  "hsl": {
    "h": 60.423,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.81647,
    "c": 0.15761,
    "h": 109.8
  },
  "luminance": 0.55605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CACB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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