#C2AB54#C2AB54

#C2AB54 is a light, moderate yellow. Relative luminance 0.412; OKLCH L 74.4% C 0.111 H 94.7°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#C2AB54
RGBrgb(194, 171, 84)
HSLhsl(47, 47%, 55%)
HSVhsv(47, 57%, 76%)
CMYKcmyk(0%, 11.9%, 56.7%, 23.9%)
CIE-LABlab(70.34, -2.49, 47.15)
CIE-LCHlch(70.34, 47.22, 93.02°)
OKLaboklab(74.35% -0.0091 0.1102)
OKLCHoklch(74.35% 0.111 94.7)
XYZxyz(38.4128, 41.2370, 14.3220)
Luminance0.4123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB54 #546BC2
analogous
#C27454 #C2AB54 #A2C254
triadic
#C2AB54 #54C2AB #AB54C2
tetradic
#C2AB54 #54C274 #546BC2 #C254A2
square
#C2AB54 #54C274 #546BC2 #C254A2
split-complementary
#C2AB54 #54A2C2 #7454C2
monochromatic
#736329 #A08A39 #C2AB54 #D2C181 #E2D7AE

Accessibility & contrast

On white

2.27
#C2AB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#C2AB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AB54
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AB54#FFFFFF#000000##000000
##C2AB541.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA84C
Deuteranopia (green-blind)
#C0AF58
Tritanopia (blue-blind)
#D0A097
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ab54;
/* rgb */ color: rgb(194, 171, 84);
/* oklch */ color: oklch(74.4% 0.111 94.7);
Tailwind
colors: {
  custom: {
    50: '#d7c387',
    500: '#c2ab54',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab54;
$custom-light: #d7c387;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab54",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 84
  },
  "hsl": {
    "h": 47.455,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.74352,
    "c": 0.11056,
    "h": 94.7
  },
  "luminance": 0.41235
}

Semantic roles & 50–950 ramp

primary
#C2AB54
secondary
#A2ABD0
accent
#6DD751
background
#FDFBF8
surface
#FBF7F0
border
#D4D0CB
text
#15120B
muted
#83817C

Preview Lab

Preview with #C2AB54

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

Preview Lab → · Contrast checker → · Palette generator →

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