#CABB2D#CABB2D

#CABB2D is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.1% C 0.152 H 103.0°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#CABB2D
RGBrgb(202, 187, 45)
HSLhsl(54, 64%, 48%)
HSVhsv(54, 78%, 79%)
CMYKcmyk(0%, 7.4%, 77.7%, 20.8%)
CIE-LABlab(75.01, -9.62, 68.02)
CIE-LCHlch(75.01, 68.70, 98.05°)
OKLaboklab(78.13% -0.0342 0.148)
OKLCHoklch(78.13% 0.152 103)
XYZxyz(42.6031, 48.2885, 9.5587)
Luminance0.4829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB2D #2D3CCA
analogous
#CA6D2D #CABB2D #8ACA2D
triadic
#CABB2D #2DCABB #BB2DCA
tetradic
#CABB2D #2DCA6D #2D3CCA #CA2D8A
square
#CABB2D #2DCA6D #2D3CCA #CA2D8A
split-complementary
#CABB2D #2D8ACA #6D2DCA
monochromatic
#665E17 #988D22 #CABB2D #DACE5A #E5DD8C

Accessibility & contrast

On white

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

On black

10.66
#CABB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB2D
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB2D#FFFFFF#000000##000000
##CABB2D1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB505
Deuteranopia (green-blind)
#D1BC38
Tritanopia (blue-blind)
#DAADA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb2d;
/* rgb */ color: rgb(202, 187, 45);
/* oklch */ color: oklch(78.1% 0.152 103.0);
Tailwind
colors: {
  custom: {
    50: '#decf72',
    500: '#cabb2d',
    950: '#000000',
  },
}
SCSS
$custom: #cabb2d;
$custom-light: #decf72;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb2d",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 45
  },
  "hsl": {
    "h": 54.268,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78126,
    "c": 0.15193,
    "h": 103
  },
  "luminance": 0.48287
}

Semantic roles & 50–950 ramp

primary
#CABB2D
secondary
#838BCF
accent
#51E741
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CABB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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