#CABA57#CABA57

#CABA57 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.3% C 0.121 H 100.2°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#CABA57
RGBrgb(202, 186, 87)
HSLhsl(52, 52%, 57%)
HSVhsv(52, 57%, 79%)
CMYKcmyk(0%, 7.9%, 56.9%, 20.8%)
CIE-LABlab(75.05, -6.75, 51.34)
CIE-LCHlch(75.05, 51.78, 97.49°)
OKLaboklab(78.26% -0.0216 0.1194)
OKLCHoklch(78.26% 0.121 100.2)
XYZxyz(43.6379, 48.3642, 16.0516)
Luminance0.4836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA57 #5767CA
analogous
#CA8157 #CABA57 #A1CA57
triadic
#CABA57 #57CABA #BA57CA
tetradic
#CABA57 #57CA81 #5767CA #CA57A1
square
#CABA57 #57CA81 #5767CA #CA57A1
split-complementary
#CABA57 #57A1CA #8157CA
monochromatic
#7F7328 #AD9D37 #CABA57 #D9CD86 #E7E0B4

Accessibility & contrast

On white

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

On black

10.67
#CABA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA57
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA57#FFFFFF#000000##000000
##CABA571.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54D
Deuteranopia (green-blind)
#CEBC5C
Tritanopia (blue-blind)
#D8AEA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #caba57;
/* rgb */ color: rgb(202, 186, 87);
/* oklch */ color: oklch(78.3% 0.121 100.2);
Tailwind
colors: {
  custom: {
    50: '#ddce8a',
    500: '#caba57',
    950: '#000000',
  },
}
SCSS
$custom: #caba57;
$custom-light: #ddce8a;
$custom-dark: #000000;
JSON
{
  "hex": "#caba57",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 87
  },
  "hsl": {
    "h": 51.652,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78264,
    "c": 0.1213,
    "h": 100.2
  },
  "luminance": 0.48362
}

Semantic roles & 50–950 ramp

primary
#CABA57
secondary
#A7ADD6
accent
#60DB4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CABA57

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

Preview Lab → · Contrast checker → · Palette generator →

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