#CABA2E#CABA2E

#CABA2E is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.9% C 0.151 H 102.5°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#CABA2E
RGBrgb(202, 186, 46)
HSLhsl(54, 63%, 49%)
HSVhsv(54, 77%, 79%)
CMYKcmyk(0%, 7.9%, 77.2%, 20.8%)
CIE-LABlab(74.75, -9.07, 67.47)
CIE-LCHlch(74.75, 68.08, 97.65°)
OKLaboklab(77.92% -0.0325 0.147)
OKLCHoklch(77.92% 0.151 102.5)
XYZxyz(42.4112, 47.8735, 9.5908)
Luminance0.4787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA2E #2E3ECA
analogous
#CA6C2E #CABA2E #8CCA2E
triadic
#CABA2E #2ECABA #BA2ECA
tetradic
#CABA2E #2ECA6C #2E3ECA #CA2E8C
square
#CABA2E #2ECA6C #2E3ECA #CA2E8C
split-complementary
#CABA2E #2E8CCA #6C2ECA
monochromatic
#665E17 #988C23 #CABA2E #DACD5B #E5DC8D

Accessibility & contrast

On white

1.99
#CABA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#CABA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA2E
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA2E#FFFFFF#000000##000000
##CABA2E1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB409
Deuteranopia (green-blind)
#D0BB39
Tritanopia (blue-blind)
#DAACA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #caba2e;
/* rgb */ color: rgb(202, 186, 46);
/* oklch */ color: oklch(77.9% 0.151 102.5);
Tailwind
colors: {
  custom: {
    50: '#dece72',
    500: '#caba2e',
    950: '#000000',
  },
}
SCSS
$custom: #caba2e;
$custom-light: #dece72;
$custom-dark: #000000;
JSON
{
  "hex": "#caba2e",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 46
  },
  "hsl": {
    "h": 53.846,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.7792,
    "c": 0.1506,
    "h": 102.5
  },
  "luminance": 0.47872
}

Semantic roles & 50–950 ramp

primary
#CABA2E
secondary
#848CCF
accent
#53E642
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CABA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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