#CABB38#CABB38

#CABB38 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.2% C 0.146 H 102.6°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#CABB38
RGBrgb(202, 187, 56)
HSLhsl(54, 58%, 51%)
HSVhsv(54, 72%, 79%)
CMYKcmyk(0%, 7.4%, 72.3%, 20.8%)
CIE-LABlab(75.07, -9.16, 64.37)
CIE-LCHlch(75.07, 65.01, 98.10°)
OKLaboklab(78.19% -0.0319 0.1423)
OKLCHoklch(78.19% 0.146 102.6)
XYZxyz(42.8432, 48.3846, 10.8230)
Luminance0.4838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB38 #3847CA
analogous
#CA7238 #CABB38 #90CA38
triadic
#CABB38 #38CABB #BB38CA
tetradic
#CABB38 #38CA72 #3847CA #CA3890
square
#CABB38 #38CA72 #3847CA #CA3890
split-complementary
#CABB38 #3890CA #7238CA
monochromatic
#6B631D #9B9029 #CABB38 #D7CC68 #E4DC99

Accessibility & contrast

On white

1.97
#CABB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#CABB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB38
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB38#FFFFFF#000000##000000
##CABB381.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB521
Deuteranopia (green-blind)
#D1BC41
Tritanopia (blue-blind)
#D9AEA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb38;
/* rgb */ color: rgb(202, 187, 56);
/* oklch */ color: oklch(78.2% 0.146 102.6);
Tailwind
colors: {
  custom: {
    50: '#decf77',
    500: '#cabb38',
    950: '#000000',
  },
}
SCSS
$custom: #cabb38;
$custom-light: #decf77;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb38",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 53.836,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78193,
    "c": 0.14584,
    "h": 102.6
  },
  "luminance": 0.48383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CABB38

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

Preview Lab → · Contrast checker → · Palette generator →

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