#CAAC38#CAAC38

#CAAC38 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 75.1% C 0.135 H 94.1°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#CAAC38
RGBrgb(202, 172, 56)
HSLhsl(48, 58%, 51%)
HSVhsv(48, 72%, 79%)
CMYKcmyk(0%, 14.9%, 72.3%, 20.8%)
CIE-LABlab(71.11, -1.33, 60.51)
CIE-LCHlch(71.11, 60.52, 91.26°)
OKLaboklab(75.06% -0.0096 0.1342)
OKLCHoklch(75.06% 0.135 94.1)
XYZxyz(39.8256, 42.3494, 9.8172)
Luminance0.4235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAC38 #3856CA
analogous
#CA6338 #CAAC38 #9FCA38
triadic
#CAAC38 #38CAAC #AC38CA
tetradic
#CAAC38 #38CA63 #3856CA #CA389F
square
#CAAC38 #38CA63 #3856CA #CA389F
split-complementary
#CAAC38 #389FCA #6338CA
monochromatic
#6B5B1D #9B8429 #CAAC38 #D7C068 #E4D499

Accessibility & contrast

On white

2.22
#CAAC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#CAAC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAC38
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAC38#FFFFFF#000000##000000
##CAAC381.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA926
Deuteranopia (green-blind)
#C6B23F
Tritanopia (blue-blind)
#DA9E95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #caac38;
/* rgb */ color: rgb(202, 172, 56);
/* oklch */ color: oklch(75.1% 0.135 94.1);
Tailwind
colors: {
  custom: {
    50: '#dec476',
    500: '#caac38',
    950: '#000000',
  },
}
SCSS
$custom: #caac38;
$custom-light: #dec476;
$custom-dark: #000000;
JSON
{
  "hex": "#caac38",
  "rgb": {
    "r": 202,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 47.671,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75058,
    "c": 0.1345,
    "h": 94.1
  },
  "luminance": 0.42347
}

Semantic roles & 50–950 ramp

primary
#CAAC38
secondary
#8E9CCF
accent
#66E147
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CAAC38

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

Preview Lab → · Contrast checker → · Palette generator →

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