#CABC38#CABC38

#CABC38 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.4% C 0.147 H 103.1°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#CABC38
RGBrgb(202, 188, 56)
HSLhsl(54, 58%, 51%)
HSVhsv(54, 72%, 79%)
CMYKcmyk(0%, 6.9%, 72.3%, 20.8%)
CIE-LABlab(75.33, -9.67, 64.62)
CIE-LCHlch(75.33, 65.34, 98.51°)
OKLaboklab(78.41% -0.0333 0.1429)
OKLCHoklch(78.41% 0.147 103.1)
XYZxyz(43.0560, 48.8103, 10.8940)
Luminance0.4881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABC38 #3846CA
analogous
#CA7338 #CABC38 #8FCA38
triadic
#CABC38 #38CABC #BC38CA
tetradic
#CABC38 #38CA73 #3846CA #CA388F
square
#CABC38 #38CA73 #3846CA #CA388F
split-complementary
#CABC38 #388FCA #7338CA
monochromatic
#6B641D #9B9029 #CABC38 #D7CC68 #E4DD99

Accessibility & contrast

On white

1.95
#CABC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#CABC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABC38
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABC38#FFFFFF#000000##000000
##CABC381.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB621
Deuteranopia (green-blind)
#D1BC41
Tritanopia (blue-blind)
#D9AFA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cabc38;
/* rgb */ color: rgb(202, 188, 56);
/* oklch */ color: oklch(78.4% 0.147 103.1);
Tailwind
colors: {
  custom: {
    50: '#decf78',
    500: '#cabc38',
    950: '#000000',
  },
}
SCSS
$custom: #cabc38;
$custom-light: #decf78;
$custom-dark: #000000;
JSON
{
  "hex": "#cabc38",
  "rgb": {
    "r": 202,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 54.247,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78405,
    "c": 0.14669,
    "h": 103.1
  },
  "luminance": 0.48809
}

Semantic roles & 50–950 ramp

primary
#CABC38
secondary
#8E95CF
accent
#55E147
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CABC38

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

Preview Lab → · Contrast checker → · Palette generator →

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