#CABA56#CABA56

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

Color values

HEX#CABA56
RGBrgb(202, 186, 86)
HSLhsl(52, 52%, 56%)
HSVhsv(52, 57%, 79%)
CMYKcmyk(0%, 7.9%, 57.4%, 20.8%)
CIE-LABlab(75.04, -6.82, 51.79)
CIE-LCHlch(75.04, 52.24, 97.51°)
OKLaboklab(78.25% -0.0219 0.1202)
OKLCHoklch(78.25% 0.122 100.3)
XYZxyz(43.5973, 48.3480, 15.8379)
Luminance0.4835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA56 #5666CA
analogous
#CA8056 #CABA56 #A0CA56
triadic
#CABA56 #56CABA #BA56CA
tetradic
#CABA56 #56CA80 #5666CA #CA56A0
square
#CABA56 #56CA80 #5666CA #CA56A0
split-complementary
#CABA56 #56A0CA #8056CA
monochromatic
#7E7228 #AD9C36 #CABA56 #D9CD85 #E7E0B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABA56#FFFFFF#000000##000000
##CABA561.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)
#CAB54C
Deuteranopia (green-blind)
#CEBC5B
Tritanopia (blue-blind)
#D8AEA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #caba56;
/* rgb */ color: rgb(202, 186, 86);
/* oklch */ color: oklch(78.3% 0.122 100.3);
Tailwind
colors: {
  custom: {
    50: '#ddce89',
    500: '#caba56',
    950: '#000000',
  },
}
SCSS
$custom: #caba56;
$custom-light: #ddce89;
$custom-dark: #000000;
JSON
{
  "hex": "#caba56",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 86
  },
  "hsl": {
    "h": 51.724,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78253,
    "c": 0.12221,
    "h": 100.3
  },
  "luminance": 0.48346
}

Semantic roles & 50–950 ramp

primary
#CABA56
secondary
#A6ADD6
accent
#60DC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CABA56

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

Preview Lab → · Contrast checker → · Palette generator →

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