#CAA938#CAA938

#CAA938 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.4% C 0.133 H 92.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#CAA938
RGBrgb(202, 169, 56)
HSLhsl(46, 58%, 51%)
HSVhsv(46, 72%, 79%)
CMYKcmyk(0%, 16.3%, 72.3%, 20.8%)
CIE-LABlab(70.33, 0.26, 59.74)
CIE-LCHlch(70.33, 59.74, 89.75°)
OKLaboklab(74.44% -0.0051 0.1325)
OKLCHoklch(74.44% 0.133 92.2)
XYZxyz(39.2610, 41.2203, 9.6290)
Luminance0.4122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA938 #3859CA
analogous
#CA6038 #CAA938 #A2CA38
triadic
#CAA938 #38CAA9 #A938CA
tetradic
#CAA938 #38CA60 #3859CA #CA38A2
square
#CAA938 #38CA60 #3859CA #CA38A2
split-complementary
#CAA938 #38A2CA #6038CA
monochromatic
#6B591D #9B8229 #CAA938 #D7BE68 #E4D399

Accessibility & contrast

On white

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

On black

9.24
#CAA938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA938
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA938#FFFFFF#000000##000000
##CAA9381.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA627
Deuteranopia (green-blind)
#C4B03E
Tritanopia (blue-blind)
#DA9B92
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #caa938;
/* rgb */ color: rgb(202, 169, 56);
/* oklch */ color: oklch(74.4% 0.133 92.2);
Tailwind
colors: {
  custom: {
    50: '#dec276',
    500: '#caa938',
    950: '#000000',
  },
}
SCSS
$custom: #caa938;
$custom-light: #dec276;
$custom-dark: #000000;
JSON
{
  "hex": "#caa938",
  "rgb": {
    "r": 202,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 46.438,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74441,
    "c": 0.13262,
    "h": 92.2
  },
  "luminance": 0.41218
}

Semantic roles & 50–950 ramp

primary
#CAA938
secondary
#8E9DCF
accent
#6AE147
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CAA938

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

Preview Lab → · Contrast checker → · Palette generator →

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