#CAA940#CAA940

#CAA940 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.5% C 0.127 H 91.3°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#CAA940
RGBrgb(202, 169, 64)
HSLhsl(46, 57%, 52%)
HSVhsv(46, 68%, 79%)
CMYKcmyk(0%, 16.3%, 68.3%, 20.8%)
CIE-LABlab(70.39, 0.67, 56.53)
CIE-LCHlch(70.39, 56.53, 89.32°)
OKLaboklab(74.51% -0.003 0.1272)
OKLCHoklch(74.51% 0.127 91.3)
XYZxyz(39.4726, 41.3049, 10.7431)
Luminance0.4130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA940 #4061CA
analogous
#CA6440 #CAA940 #A6CA40
triadic
#CAA940 #40CAA9 #A940CA
tetradic
#CAA940 #40CA64 #4061CA #CA40A6
square
#CAA940 #40CA64 #4061CA #CA40A6
split-complementary
#CAA940 #40A6CA #6440CA
monochromatic
#705D1F #A0852C #CAA940 #D7BF70 #E5D4A0

Accessibility & contrast

On white

2.27
#CAA940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#CAA940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA940
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA940#FFFFFF#000000##000000
##CAA9401.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA733
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#DA9C93
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #caa940;
/* rgb */ color: rgb(202, 169, 64);
/* oklch */ color: oklch(74.5% 0.127 91.3);
Tailwind
colors: {
  custom: {
    50: '#dec27a',
    500: '#caa940',
    950: '#000000',
  },
}
SCSS
$custom: #caa940;
$custom-light: #dec27a;
$custom-dark: #000000;
JSON
{
  "hex": "#caa940",
  "rgb": {
    "r": 202,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 45.652,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74506,
    "c": 0.12719,
    "h": 91.3
  },
  "luminance": 0.41303
}

Semantic roles & 50–950 ramp

primary
#CAA940
secondary
#95A3D1
accent
#6CE048
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CAA940

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

Preview Lab → · Contrast checker → · Palette generator →

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