#CAC65E#CAC65E

#CAC65E is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.9% C 0.127 H 106.9°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CAC65E
RGBrgb(202, 198, 94)
HSLhsl(58, 50%, 58%)
HSVhsv(58, 53%, 79%)
CMYKcmyk(0%, 2%, 53.5%, 20.8%)
CIE-LABlab(78.32, -12.36, 51.83)
CIE-LCHlch(78.32, 53.28, 103.41°)
OKLaboklab(80.88% -0.0368 0.1212)
OKLCHoklch(80.88% 0.127 106.9)
XYZxyz(46.5729, 53.7542, 18.5098)
Luminance0.5375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC65E #5E62CA
analogous
#CA905E #CAC65E #98CA5E
triadic
#CAC65E #5ECAC6 #C65ECA
tetradic
#CAC65E #5ECA90 #5E62CA #CA5E98
square
#CAC65E #5ECA90 #5E62CA #CA5E98
split-complementary
#CAC65E #5E98CA #905ECA
monochromatic
#837F2B #B1AC3A #CAC65E #D9D68C #E8E7BA

Accessibility & contrast

On white

1.79
#CAC65E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#CAC65E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC65E
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC65E#FFFFFF#000000##000000
##CAC65E1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF54
Deuteranopia (green-blind)
#D7C463
Tritanopia (blue-blind)
#D7BBAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac65e;
/* rgb */ color: rgb(202, 198, 94);
/* oklch */ color: oklch(80.9% 0.127 106.9);
Tailwind
colors: {
  custom: {
    50: '#dcd78f',
    500: '#cac65e',
    950: '#000000',
  },
}
SCSS
$custom: #cac65e;
$custom-light: #dcd78f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac65e",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 94
  },
  "hsl": {
    "h": 57.778,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80881,
    "c": 0.12668,
    "h": 106.9
  },
  "luminance": 0.53753
}

Semantic roles & 50–950 ramp

primary
#CAC65E
secondary
#42458A
accent
#53DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CAC65E

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

Preview Lab → · Contrast checker → · Palette generator →

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