#CAA126#CAA126

#CAA126 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.7% C 0.138 H 88.7°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#CAA126
RGBrgb(202, 161, 38)
HSLhsl(45, 68%, 47%)
HSVhsv(45, 81%, 79%)
CMYKcmyk(0%, 20.3%, 81.2%, 20.8%)
CIE-LABlab(68.16, 3.81, 64.11)
CIE-LCHlch(68.16, 64.22, 86.60°)
OKLaboklab(72.7% 0.0032 0.1382)
OKLCHoklch(72.7% 0.138 88.7)
XYZxyz(37.4542, 38.1888, 7.2318)
Luminance0.3819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA126 #264FCA
analogous
#CA4F26 #CAA126 #A1CA26
triadic
#CAA126 #26CAA1 #A126CA
tetradic
#CAA126 #26CA4F #264FCA #CA26A1
square
#CAA126 #26CA4F #264FCA #CA26A1
split-complementary
#CAA126 #26A1CA #4F26CA
monochromatic
#634F13 #96781C #CAA126 #DEBA4F #E8CE83

Accessibility & contrast

On white

2.43
#CAA126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#CAA126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA126
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA126#FFFFFF#000000##000000
##CAA1261.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A003
Deuteranopia (green-blind)
#BFAB2E
Tritanopia (blue-blind)
#DB928A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #caa126;
/* rgb */ color: rgb(202, 161, 38);
/* oklch */ color: oklch(72.7% 0.138 88.7);
Tailwind
colors: {
  custom: {
    50: '#dfbc6c',
    500: '#caa126',
    950: '#000000',
  },
}
SCSS
$custom: #caa126;
$custom-light: #dfbc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#caa126",
  "rgb": {
    "r": 202,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 45,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72696,
    "c": 0.13822,
    "h": 88.7
  },
  "luminance": 0.38186
}

Semantic roles & 50–950 ramp

primary
#CAA126
secondary
#7B91D1
accent
#68EB3D
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161107
muted
#84807A

Preview Lab

Preview with #CAA126

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

Preview Lab → · Contrast checker → · Palette generator →

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