#CAAF54#CAAF54

#CAAF54 is a light, moderate yellow. Relative luminance 0.439; OKLCH L 75.9% C 0.115 H 93.0°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#CAAF54
RGBrgb(202, 175, 84)
HSLhsl(46, 53%, 56%)
HSVhsv(46, 58%, 79%)
CMYKcmyk(0%, 13.4%, 58.4%, 20.8%)
CIE-LABlab(72.13, -1.21, 49.41)
CIE-LCHlch(72.13, 49.42, 91.40°)
OKLaboklab(75.94% -0.006 0.1149)
OKLCHoklch(75.94% 0.115 93)
XYZxyz(41.2891, 43.8586, 14.6765)
Luminance0.4386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF54 #546FCA
analogous
#CA7454 #CAAF54 #AACA54
triadic
#CAAF54 #54CAAF #AF54CA
tetradic
#CAAF54 #54CA74 #546FCA #CA54AA
square
#CAAF54 #54CA74 #546FCA #CA54AA
split-complementary
#CAAF54 #54AACA #7454CA
monochromatic
#7D6927 #AC9135 #CAAF54 #D8C583 #E7DBB1

Accessibility & contrast

On white

2.15
#CAAF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#CAAF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAF54
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAF54#FFFFFF#000000##000000
##CAAF541.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC4B
Deuteranopia (green-blind)
#C6B458
Tritanopia (blue-blind)
#D9A39B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #caaf54;
/* rgb */ color: rgb(202, 175, 84);
/* oklch */ color: oklch(75.9% 0.115 93.0);
Tailwind
colors: {
  custom: {
    50: '#ddc687',
    500: '#caaf54',
    950: '#000000',
  },
}
SCSS
$custom: #caaf54;
$custom-light: #ddc687;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf54",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 84
  },
  "hsl": {
    "h": 46.271,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.75943,
    "c": 0.11502,
    "h": 93
  },
  "luminance": 0.43857
}

Semantic roles & 50–950 ramp

primary
#CAAF54
secondary
#A5B0D5
accent
#6DDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAAF54

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

Preview Lab → · Contrast checker → · Palette generator →

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