#C2AB36#C2AB36

#C2AB36 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.134 H 97.7°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#C2AB36
RGBrgb(194, 171, 54)
HSLhsl(50, 56%, 49%)
HSVhsv(50, 72%, 76%)
CMYKcmyk(0%, 11.9%, 72.2%, 23.9%)
CIE-LABlab(70.08, -4.38, 60.01)
CIE-LCHlch(70.08, 60.17, 94.18°)
OKLaboklab(74.06% -0.0181 0.133)
OKLCHoklch(74.06% 0.134 97.7)
XYZxyz(37.4787, 40.8634, 9.4026)
Luminance0.4086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB36 #364DC2
analogous
#C26536 #C2AB36 #93C236
triadic
#C2AB36 #36C2AB #AB36C2
tetradic
#C2AB36 #36C265 #364DC2 #C23693
square
#C2AB36 #36C265 #364DC2 #C23693
split-complementary
#C2AB36 #3693C2 #6536C2
monochromatic
#62571B #928129 #C2AB36 #D3C162 #E1D492

Accessibility & contrast

On white

2.29
#C2AB36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#C2AB36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AB36
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AB36#FFFFFF#000000##000000
##C2AB361.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA723
Deuteranopia (green-blind)
#C2AF3D
Tritanopia (blue-blind)
#D19E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2ab36;
/* rgb */ color: rgb(194, 171, 54);
/* oklch */ color: oklch(74.1% 0.134 97.7);
Tailwind
colors: {
  custom: {
    50: '#d8c375',
    500: '#c2ab36',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab36;
$custom-light: #d8c375;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab36",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 50.143,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74061,
    "c": 0.13426,
    "h": 97.7
  },
  "luminance": 0.40861
}

Semantic roles & 50–950 ramp

primary
#C2AB36
secondary
#8893CC
accent
#61E048
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AB36

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

Preview Lab → · Contrast checker → · Palette generator →

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