#CACB3F#CACB3F

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

Color values

HEX#CACB3F
RGBrgb(202, 203, 63)
HSLhsl(60, 57%, 52%)
HSVhsv(60, 69%, 80%)
CMYKcmyk(0.5%, 0%, 69%, 20.4%)
CIE-LABlab(79.40, -16.92, 66.05)
CIE-LCHlch(79.40, 68.18, 104.37°)
OKLaboklab(81.66% -0.053 0.1471)
OKLCHoklch(81.66% 0.156 109.8)
XYZxyz(46.6119, 55.6286, 12.9837)
Luminance0.5563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB3F #403FCB
analogous
#CB863F #CACB3F #84CB3F
triadic
#CACB3F #3FCACB #CB3FCA
tetradic
#CACB3F #3FCB86 #403FCB #CB3F84
square
#CACB3F #3FCB86 #403FCB #CB3F84
split-complementary
#CACB3F #3F84CB #863FCB
monochromatic
#70711F #A0A12C #CACB3F #D7D86F #E5E59F

Accessibility & contrast

On white

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

On black

12.13
#CACB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACB3F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACB3F#FFFFFF#000000##000000
##CACB3F1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cacb3f;
/* rgb */ color: rgb(202, 203, 63);
/* oklch */ color: oklch(81.7% 0.156 109.8);
Tailwind
colors: {
  custom: {
    50: '#deda7d',
    500: '#cacb3f',
    950: '#000000',
  },
}
SCSS
$custom: #cacb3f;
$custom-light: #deda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb3f",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 63
  },
  "hsl": {
    "h": 60.429,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81661,
    "c": 0.15635,
    "h": 109.8
  },
  "luminance": 0.55627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CACB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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