#CAC430#CAC430

#CAC430 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.1% C 0.158 H 107.1°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#CAC430
RGBrgb(202, 196, 48)
HSLhsl(58, 62%, 49%)
HSVhsv(58, 76%, 79%)
CMYKcmyk(0%, 3%, 76.2%, 20.8%)
CIE-LABlab(77.43, -14.09, 69.29)
CIE-LCHlch(77.43, 70.70, 101.49°)
OKLaboklab(80.06% -0.0464 0.1513)
OKLCHoklch(80.06% 0.158 107.1)
XYZxyz(44.6324, 52.2514, 10.5302)
Luminance0.5225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC430 #3036CA
analogous
#CA7730 #CAC430 #83CA30
triadic
#CAC430 #30CAC4 #C430CA
tetradic
#CAC430 #30CA77 #3036CA #CA3083
square
#CAC430 #30CA77 #3036CA #CA3083
split-complementary
#CAC430 #3083CA #7730CA
monochromatic
#676418 #999424 #CAC430 #D9D45E #E5E190

Accessibility & contrast

On white

1.83
#CAC430 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#CAC430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC430
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC430#FFFFFF#000000##000000
##CAC4301.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC07
Deuteranopia (green-blind)
#D8C23C
Tritanopia (blue-blind)
#D9B7A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac430;
/* rgb */ color: rgb(202, 196, 48);
/* oklch */ color: oklch(80.1% 0.158 107.1);
Tailwind
colors: {
  custom: {
    50: '#ded575',
    500: '#cac430',
    950: '#000000',
  },
}
SCSS
$custom: #cac430;
$custom-light: #ded575;
$custom-dark: #000000;
JSON
{
  "hex": "#cac430",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 48
  },
  "hsl": {
    "h": 57.662,
    "s": 61.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.80061,
    "c": 0.15826,
    "h": 107.1
  },
  "luminance": 0.5225
}

Semantic roles & 50–950 ramp

primary
#CAC430
secondary
#2D3071
accent
#49E543
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC430

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

Preview Lab → · Contrast checker → · Palette generator →

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