#CAC758#CAC758

#CAC758 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.0% C 0.133 H 107.6°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#CAC758
RGBrgb(202, 199, 88)
HSLhsl(58, 52%, 57%)
HSVhsv(58, 56%, 79%)
CMYKcmyk(0%, 1.5%, 56.4%, 20.8%)
CIE-LABlab(78.53, -13.33, 54.81)
CIE-LCHlch(78.53, 56.41, 103.67°)
OKLaboklab(81.03% -0.0403 0.1269)
OKLCHoklch(81.03% 0.133 107.6)
XYZxyz(46.5434, 54.1093, 17.2230)
Luminance0.5411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC758 #585BCA
analogous
#CA8E58 #CAC758 #94CA58
triadic
#CAC758 #58CAC7 #C758CA
tetradic
#CAC758 #58CA8E #585BCA #CA5894
square
#CAC758 #58CA8E #585BCA #CA5894
split-complementary
#CAC758 #5894CA #8E58CA
monochromatic
#7F7D28 #AEAB37 #CAC758 #D9D786 #E7E6B5

Accessibility & contrast

On white

1.78
#CAC758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#CAC758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC758
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC758#FFFFFF#000000##000000
##CAC7581.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac758;
/* rgb */ color: rgb(202, 199, 88);
/* oklch */ color: oklch(81.0% 0.133 107.6);
Tailwind
colors: {
  custom: {
    50: '#ddd78b',
    500: '#cac758',
    950: '#000000',
  },
}
SCSS
$custom: #cac758;
$custom-light: #ddd78b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac758",
  "rgb": {
    "r": 202,
    "g": 199,
    "b": 88
  },
  "hsl": {
    "h": 58.421,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81026,
    "c": 0.13317,
    "h": 107.6
  },
  "luminance": 0.54108
}

Semantic roles & 50–950 ramp

primary
#CAC758
secondary
#3F4187
accent
#50DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC758

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

Preview Lab → · Contrast checker → · Palette generator →

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