#CABC57#CABC57

#CABC57 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.7% C 0.123 H 101.5°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#CABC57
RGBrgb(202, 188, 87)
HSLhsl(53, 52%, 57%)
HSVhsv(53, 57%, 79%)
CMYKcmyk(0%, 6.9%, 56.9%, 20.8%)
CIE-LABlab(75.58, -7.78, 51.94)
CIE-LCHlch(75.58, 52.52, 98.52°)
OKLaboklab(78.68% -0.0245 0.1207)
OKLCHoklch(78.68% 0.123 101.5)
XYZxyz(44.0622, 49.2128, 16.1930)
Luminance0.4921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABC57 #5765CA
analogous
#CA8357 #CABC57 #9FCA57
triadic
#CABC57 #57CABC #BC57CA
tetradic
#CABC57 #57CA83 #5765CA #CA579F
square
#CABC57 #57CA83 #5765CA #CA579F
split-complementary
#CABC57 #579FCA #8357CA
monochromatic
#7F7428 #AD9F37 #CABC57 #D9CF86 #E7E1B4

Accessibility & contrast

On white

1.94
#CABC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#CABC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABC57
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABC57#FFFFFF#000000##000000
##CABC571.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB74D
Deuteranopia (green-blind)
#D0BD5C
Tritanopia (blue-blind)
#D8B0A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cabc57;
/* rgb */ color: rgb(202, 188, 87);
/* oklch */ color: oklch(78.7% 0.123 101.5);
Tailwind
colors: {
  custom: {
    50: '#ddcf8a',
    500: '#cabc57',
    950: '#000000',
  },
}
SCSS
$custom: #cabc57;
$custom-light: #ddcf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cabc57",
  "rgb": {
    "r": 202,
    "g": 188,
    "b": 87
  },
  "hsl": {
    "h": 52.696,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78684,
    "c": 0.12314,
    "h": 101.5
  },
  "luminance": 0.49211
}

Semantic roles & 50–950 ramp

primary
#CABC57
secondary
#A7ADD6
accent
#5EDB4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CABC57

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

Preview Lab → · Contrast checker → · Palette generator →

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