#CAAF45#CAAF45

#CAAF45 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.8% C 0.127 H 94.8°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#CAAF45
RGBrgb(202, 175, 69)
HSLhsl(48, 56%, 53%)
HSVhsv(48, 66%, 79%)
CMYKcmyk(0%, 13.4%, 65.8%, 20.8%)
CIE-LABlab(71.99, -2.22, 56.07)
CIE-LCHlch(71.99, 56.11, 92.26°)
OKLaboklab(75.79% -0.0107 0.127)
OKLCHoklch(75.79% 0.127 94.8)
XYZxyz(40.7632, 43.6483, 11.9069)
Luminance0.4365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF45 #4560CA
analogous
#CA6C45 #CAAF45 #A2CA45
triadic
#CAAF45 #45CAAF #AF45CA
tetradic
#CAAF45 #45CA6C #4560CA #CA45A2
square
#CAAF45 #45CA6C #4560CA #CA45A2
split-complementary
#CAAF45 #45A2CA #6C45CA
monochromatic
#746321 #A38C2F #CAAF45 #D8C375 #E5D8A4

Accessibility & contrast

On white

2.16
#CAAF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#CAAF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAF45
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAF45#FFFFFF#000000##000000
##CAAF451.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC38
Deuteranopia (green-blind)
#C7B44A
Tritanopia (blue-blind)
#DAA299
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #caaf45;
/* rgb */ color: rgb(202, 175, 69);
/* oklch */ color: oklch(75.8% 0.127 94.8);
Tailwind
colors: {
  custom: {
    50: '#dec67e',
    500: '#caaf45',
    950: '#000000',
  },
}
SCSS
$custom: #caaf45;
$custom-light: #dec67e;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf45",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 47.82,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75786,
    "c": 0.12746,
    "h": 94.8
  },
  "luminance": 0.43646
}

Semantic roles & 50–950 ramp

primary
#CAAF45
secondary
#99A4D2
accent
#67DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAAF45

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

Preview Lab → · Contrast checker → · Palette generator →

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