#CAAE38#CAAE38

#CAAE38 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.5% C 0.136 H 95.3°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#CAAE38
RGBrgb(202, 174, 56)
HSLhsl(48, 58%, 51%)
HSVhsv(48, 72%, 79%)
CMYKcmyk(0%, 13.9%, 72.3%, 20.8%)
CIE-LABlab(71.63, -2.39, 61.02)
CIE-LCHlch(71.63, 61.07, 92.24°)
OKLaboklab(75.47% -0.0126 0.1352)
OKLCHoklch(75.47% 0.136 95.3)
XYZxyz(40.2091, 43.1164, 9.9450)
Luminance0.4311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAE38 #3854CA
analogous
#CA6538 #CAAE38 #9DCA38
triadic
#CAAE38 #38CAAE #AE38CA
tetradic
#CAAE38 #38CA65 #3854CA #CA389D
square
#CAAE38 #38CA65 #3854CA #CA389D
split-complementary
#CAAE38 #389DCA #6538CA
monochromatic
#6B5C1D #9B8629 #CAAE38 #D7C268 #E4D599

Accessibility & contrast

On white

2.18
#CAAE38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#CAAE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAE38
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAE38#FFFFFF#000000##000000
##CAAE381.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA26
Deuteranopia (green-blind)
#C7B33F
Tritanopia (blue-blind)
#DAA097
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #caae38;
/* rgb */ color: rgb(202, 174, 56);
/* oklch */ color: oklch(75.5% 0.136 95.3);
Tailwind
colors: {
  custom: {
    50: '#dec576',
    500: '#caae38',
    950: '#000000',
  },
}
SCSS
$custom: #caae38;
$custom-light: #dec576;
$custom-dark: #000000;
JSON
{
  "hex": "#caae38",
  "rgb": {
    "r": 202,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 48.493,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75471,
    "c": 0.13583,
    "h": 95.3
  },
  "luminance": 0.43114
}

Semantic roles & 50–950 ramp

primary
#CAAE38
secondary
#8E9BCF
accent
#64E147
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CAAE38

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

Preview Lab → · Contrast checker → · Palette generator →

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