#C2AB4F#C2AB4F

#C2AB4F is a light, moderate yellow. Relative luminance 0.412; OKLCH L 74.3% C 0.115 H 95.4°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#C2AB4F
RGBrgb(194, 171, 79)
HSLhsl(48, 49%, 54%)
HSVhsv(48, 59%, 76%)
CMYKcmyk(0%, 11.9%, 59.3%, 23.9%)
CIE-LABlab(70.29, -2.87, 49.47)
CIE-LCHlch(70.29, 49.56, 93.32°)
OKLaboklab(74.29% -0.0108 0.1146)
OKLCHoklch(74.29% 0.115 95.4)
XYZxyz(38.2239, 41.1615, 13.3272)
Luminance0.4116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB4F #4F66C2
analogous
#C2714F #C2AB4F #9FC24F
triadic
#C2AB4F #4FC2AB #AB4FC2
tetradic
#C2AB4F #4FC271 #4F66C2 #C24F9F
square
#C2AB4F #4FC271 #4F66C2 #C24F9F
split-complementary
#C2AB4F #4F9FC2 #714FC2
monochromatic
#706127 #9D8937 #C2AB4F #D2C17C #E2D6AA

Accessibility & contrast

On white

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

On black

9.23
#C2AB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AB4F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AB4F#FFFFFF#000000##000000
##C2AB4F1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA846
Deuteranopia (green-blind)
#C1AF53
Tritanopia (blue-blind)
#D09F97
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ab4f;
/* rgb */ color: rgb(194, 171, 79);
/* oklch */ color: oklch(74.3% 0.115 95.4);
Tailwind
colors: {
  custom: {
    50: '#d7c383',
    500: '#c2ab4f',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab4f;
$custom-light: #d7c383;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab4f",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 79
  },
  "hsl": {
    "h": 48,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.74293,
    "c": 0.11509,
    "h": 95.4
  },
  "luminance": 0.4116
}

Semantic roles & 50–950 ramp

primary
#C2AB4F
secondary
#9EA8CF
accent
#6BD850
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C2AB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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