#CABA45#CABA45

#CABA45 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.1% C 0.136 H 101.5°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#CABA45
RGBrgb(202, 186, 69)
HSLhsl(53, 56%, 53%)
HSVhsv(53, 66%, 79%)
CMYKcmyk(0%, 7.9%, 65.8%, 20.8%)
CIE-LABlab(74.89, -7.96, 59.12)
CIE-LCHlch(74.89, 59.65, 97.67°)
OKLaboklab(78.08% -0.0271 0.1335)
OKLCHoklch(78.08% 0.136 101.5)
XYZxyz(42.9920, 48.1058, 12.6498)
Luminance0.4810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA45 #4555CA
analogous
#CA7745 #CABA45 #97CA45
triadic
#CABA45 #45CABA #BA45CA
tetradic
#CABA45 #45CA77 #4555CA #CA4597
square
#CABA45 #45CA77 #4555CA #CA4597
split-complementary
#CABA45 #4597CA #7745CA
monochromatic
#746A21 #A3952F #CABA45 #D8CC75 #E5DDA4

Accessibility & contrast

On white

1.98
#CABA45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#CABA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA45
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA45#FFFFFF#000000##000000
##CABA451.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB536
Deuteranopia (green-blind)
#CFBB4C
Tritanopia (blue-blind)
#D9ADA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #caba45;
/* rgb */ color: rgb(202, 186, 69);
/* oklch */ color: oklch(78.1% 0.136 101.5);
Tailwind
colors: {
  custom: {
    50: '#ddce7e',
    500: '#caba45',
    950: '#000000',
  },
}
SCSS
$custom: #caba45;
$custom-light: #ddce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#caba45",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 52.782,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78083,
    "c": 0.13618,
    "h": 101.5
  },
  "luminance": 0.48104
}

Semantic roles & 50–950 ramp

primary
#CABA45
secondary
#99A0D2
accent
#5BDF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CABA45

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

Preview Lab → · Contrast checker → · Palette generator →

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