#CABA58#CABA58

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

Color values

HEX#CABA58
RGBrgb(202, 186, 88)
HSLhsl(52, 52%, 57%)
HSVhsv(52, 56%, 79%)
CMYKcmyk(0%, 7.9%, 56.4%, 20.8%)
CIE-LABlab(75.06, -6.67, 50.88)
CIE-LCHlch(75.06, 51.32, 97.47°)
OKLaboklab(78.27% -0.0212 0.1185)
OKLCHoklch(78.27% 0.12 100.2)
XYZxyz(43.6790, 48.3807, 16.2682)
Luminance0.4838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA58 #5868CA
analogous
#CA8158 #CABA58 #A1CA58
triadic
#CABA58 #58CABA #BA58CA
tetradic
#CABA58 #58CA81 #5868CA #CA58A1
square
#CABA58 #58CA81 #5868CA #CA58A1
split-complementary
#CABA58 #58A1CA #8158CA
monochromatic
#7F7328 #AE9D37 #CABA58 #D9CD86 #E7E0B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABA58#FFFFFF#000000##000000
##CABA581.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)
#C9B54E
Deuteranopia (green-blind)
#CEBC5D
Tritanopia (blue-blind)
#D8AEA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #caba58;
/* rgb */ color: rgb(202, 186, 88);
/* oklch */ color: oklch(78.3% 0.120 100.2);
Tailwind
colors: {
  custom: {
    50: '#ddce8a',
    500: '#caba58',
    950: '#000000',
  },
}
SCSS
$custom: #caba58;
$custom-light: #ddce8a;
$custom-dark: #000000;
JSON
{
  "hex": "#caba58",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 88
  },
  "hsl": {
    "h": 51.579,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78275,
    "c": 0.1204,
    "h": 100.2
  },
  "luminance": 0.48379
}

Semantic roles & 50–950 ramp

primary
#CABA58
secondary
#A8AED6
accent
#61DB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CABA58

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

Preview Lab → · Contrast checker → · Palette generator →

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