#CAAF3B#CAAF3B

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

Color values

HEX#CAAF3B
RGBrgb(202, 175, 59)
HSLhsl(49, 57%, 51%)
HSVhsv(49, 71%, 79%)
CMYKcmyk(0%, 13.4%, 70.8%, 20.8%)
CIE-LABlab(71.92, -2.77, 60.13)
CIE-LCHlch(71.92, 60.20, 92.63°)
OKLaboklab(75.7% -0.0134 0.1339)
OKLCHoklch(75.7% 0.135 95.7)
XYZxyz(40.4785, 43.5344, 10.4077)
Luminance0.4353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF3B #3B56CA
analogous
#CA673B #CAAF3B #9DCA3B
triadic
#CAAF3B #3BCAAF #AF3BCA
tetradic
#CAAF3B #3BCA67 #3B56CA #CA3B9D
square
#CAAF3B #3BCA67 #3B56CA #CA3B9D
split-complementary
#CAAF3B #3B9DCA #673BCA
monochromatic
#6D5E1E #9D882B #CAAF3B #D7C36B #E4D69B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAAF3B#FFFFFF#000000##000000
##CAAF3B1.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)
#C1AB2A
Deuteranopia (green-blind)
#C8B442
Tritanopia (blue-blind)
#DAA298
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #caaf3b;
/* rgb */ color: rgb(202, 175, 59);
/* oklch */ color: oklch(75.7% 0.135 95.7);
Tailwind
colors: {
  custom: {
    50: '#dec678',
    500: '#caaf3b',
    950: '#000000',
  },
}
SCSS
$custom: #caaf3b;
$custom-light: #dec678;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf3b",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 48.671,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75701,
    "c": 0.13458,
    "h": 95.7
  },
  "luminance": 0.43532
}

Semantic roles & 50–950 ramp

primary
#CAAF3B
secondary
#919DD0
accent
#64E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CAAF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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