#CAAF3C#CAAF3C

#CAAF3C is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.7% C 0.134 H 95.6°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#CAAF3C
RGBrgb(202, 175, 60)
HSLhsl(49, 57%, 51%)
HSVhsv(49, 70%, 79%)
CMYKcmyk(0%, 13.4%, 70.3%, 20.8%)
CIE-LABlab(71.92, -2.72, 59.74)
CIE-LCHlch(71.92, 59.81, 92.60°)
OKLaboklab(75.71% -0.0131 0.1333)
OKLCHoklch(75.71% 0.134 95.6)
XYZxyz(40.5047, 43.5449, 10.5456)
Luminance0.4354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF3C #3C57CA
analogous
#CA683C #CAAF3C #9ECA3C
triadic
#CAAF3C #3CCAAF #AF3CCA
tetradic
#CAAF3C #3CCA68 #3C57CA #CA3C9E
square
#CAAF3C #3CCA68 #3C57CA #CA3C9E
split-complementary
#CAAF3C #3C9ECA #683CCA
monochromatic
#6E5F1E #9E882B #CAAF3C #D7C36C #E4D69C

Accessibility & contrast

On white

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

On black

9.71
#CAAF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAF3C
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAF3C#FFFFFF#000000##000000
##CAAF3C1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB2B
Deuteranopia (green-blind)
#C8B442
Tritanopia (blue-blind)
#DAA298
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #caaf3c;
/* rgb */ color: rgb(202, 175, 60);
/* oklch */ color: oklch(75.7% 0.134 95.6);
Tailwind
colors: {
  custom: {
    50: '#dec678',
    500: '#caaf3c',
    950: '#000000',
  },
}
SCSS
$custom: #caaf3c;
$custom-light: #dec678;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf3c",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 48.592,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75709,
    "c": 0.13391,
    "h": 95.6
  },
  "luminance": 0.43543
}

Semantic roles & 50–950 ramp

primary
#CAAF3C
secondary
#929ED0
accent
#64E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CAAF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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