#CABC2F#CABC2F

#CABC2F is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.3% C 0.152 H 103.4°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#CABC2F
RGBrgb(202, 188, 47)
HSLhsl(55, 62%, 49%)
HSVhsv(55, 77%, 79%)
CMYKcmyk(0%, 6.9%, 76.7%, 20.8%)
CIE-LABlab(75.28, -10.06, 67.64)
CIE-LCHlch(75.28, 68.39, 98.46°)
OKLaboklab(78.35% -0.0352 0.1476)
OKLCHoklch(78.35% 0.152 103.4)
XYZxyz(42.8554, 48.7301, 9.8372)
Luminance0.4873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABC2F #2F3DCA
analogous
#CA6F2F #CABC2F #8BCA2F
triadic
#CABC2F #2FCABC #BC2FCA
tetradic
#CABC2F #2FCA6F #2F3DCA #CA2F8B
square
#CABC2F #2FCA6F #2F3DCA #CA2F8B
split-complementary
#CABC2F #2F8BCA #6F2FCA
monochromatic
#676018 #988E23 #CABC2F #D9CE5D #E5DD8F

Accessibility & contrast

On white

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

On black

10.75
#CABC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABC2F
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABC2F#FFFFFF#000000##000000
##CABC2F1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB60B
Deuteranopia (green-blind)
#D2BC3A
Tritanopia (blue-blind)
#DAAFA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabc2f;
/* rgb */ color: rgb(202, 188, 47);
/* oklch */ color: oklch(78.3% 0.152 103.4);
Tailwind
colors: {
  custom: {
    50: '#decf73',
    500: '#cabc2f',
    950: '#000000',
  },
}
SCSS
$custom: #cabc2f;
$custom-light: #decf73;
$custom-dark: #000000;
JSON
{
  "hex": "#cabc2f",
  "rgb": {
    "r": 202,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 54.581,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78349,
    "c": 0.15175,
    "h": 103.4
  },
  "luminance": 0.48728
}

Semantic roles & 50–950 ramp

primary
#CABC2F
secondary
#868CCF
accent
#51E542
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CABC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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