#CAA427#CAA427

#CAA427 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 73.3% C 0.139 H 90.5°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#CAA427
RGBrgb(202, 164, 39)
HSLhsl(46, 68%, 47%)
HSVhsv(46, 81%, 79%)
CMYKcmyk(0%, 18.8%, 80.7%, 20.8%)
CIE-LABlab(68.94, 2.24, 64.48)
CIE-LCHlch(68.94, 64.52, 88.01°)
OKLaboklab(73.31% -0.0012 0.1392)
OKLCHoklch(73.31% 0.139 90.5)
XYZxyz(38.0011, 39.2564, 7.4948)
Luminance0.3925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA427 #274DCA
analogous
#CA5227 #CAA427 #9FCA27
triadic
#CAA427 #27CAA4 #A427CA
tetradic
#CAA427 #27CA52 #274DCA #CA279F
square
#CAA427 #27CA52 #274DCA #CA279F
split-complementary
#CAA427 #279FCA #5227CA
monochromatic
#635113 #977A1D #CAA427 #DDBD51 #E7D084

Accessibility & contrast

On white

2.37
#CAA427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#CAA427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA427
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA427#FFFFFF#000000##000000
##CAA4271.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A204
Deuteranopia (green-blind)
#C1AD2F
Tritanopia (blue-blind)
#DB958D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #caa427;
/* rgb */ color: rgb(202, 164, 39);
/* oklch */ color: oklch(73.3% 0.139 90.5);
Tailwind
colors: {
  custom: {
    50: '#dfbe6d',
    500: '#caa427',
    950: '#000000',
  },
}
SCSS
$custom: #caa427;
$custom-light: #dfbe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#caa427",
  "rgb": {
    "r": 202,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 46.012,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7331,
    "c": 0.1392,
    "h": 90.5
  },
  "luminance": 0.39254
}

Semantic roles & 50–950 ramp

primary
#CAA427
secondary
#7C90D0
accent
#66EB3D
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161208
muted
#84817B

Preview Lab

Preview with #CAA427

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

Preview Lab → · Contrast checker → · Palette generator →

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