#CAAA38#CAAA38

#CAAA38 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.6% C 0.133 H 92.8°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#CAAA38
RGBrgb(202, 170, 56)
HSLhsl(47, 58%, 51%)
HSVhsv(47, 72%, 79%)
CMYKcmyk(0%, 15.8%, 72.3%, 20.8%)
CIE-LABlab(70.59, -0.27, 60.00)
CIE-LCHlch(70.59, 60.00, 90.26°)
OKLaboklab(74.65% -0.0066 0.1331)
OKLCHoklch(74.65% 0.133 92.8)
XYZxyz(39.4478, 41.5938, 9.6912)
Luminance0.4159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAA38 #3858CA
analogous
#CA6138 #CAAA38 #A1CA38
triadic
#CAAA38 #38CAAA #AA38CA
tetradic
#CAAA38 #38CA61 #3858CA #CA38A1
square
#CAAA38 #38CA61 #3858CA #CA38A1
split-complementary
#CAAA38 #38A1CA #6138CA
monochromatic
#6B5A1D #9B8229 #CAAA38 #D7BF68 #E4D399

Accessibility & contrast

On white

2.25
#CAAA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#CAAA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAA38
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAA38#FFFFFF#000000##000000
##CAAA381.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA727
Deuteranopia (green-blind)
#C4B13E
Tritanopia (blue-blind)
#DA9C93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #caaa38;
/* rgb */ color: rgb(202, 170, 56);
/* oklch */ color: oklch(74.6% 0.133 92.8);
Tailwind
colors: {
  custom: {
    50: '#dec276',
    500: '#caaa38',
    950: '#000000',
  },
}
SCSS
$custom: #caaa38;
$custom-light: #dec276;
$custom-dark: #000000;
JSON
{
  "hex": "#caaa38",
  "rgb": {
    "r": 202,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 46.849,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74646,
    "c": 0.13322,
    "h": 92.8
  },
  "luminance": 0.41592
}

Semantic roles & 50–950 ramp

primary
#CAAA38
secondary
#8E9DCF
accent
#69E147
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CAAA38

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

Preview Lab → · Contrast checker → · Palette generator →

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