#C2AB3E#C2AB3E

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

Color values

HEX#C2AB3E
RGBrgb(194, 171, 62)
HSLhsl(50, 52%, 50%)
HSVhsv(50, 68%, 76%)
CMYKcmyk(0%, 11.9%, 68%, 23.9%)
CIE-LABlab(70.14, -3.97, 56.87)
CIE-LCHlch(70.14, 57.01, 93.99°)
OKLaboklab(74.12% -0.016 0.1278)
OKLCHoklch(74.12% 0.129 97.1)
XYZxyz(37.6823, 40.9448, 10.4748)
Luminance0.4094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB3E #3E55C2
analogous
#C2693E #C2AB3E #97C23E
triadic
#C2AB3E #3EC2AB #AB3EC2
tetradic
#C2AB3E #3EC269 #3E55C2 #C23E97
square
#C2AB3E #3EC269 #3E55C2 #C23E97
split-complementary
#C2AB3E #3E97C2 #693EC2
monochromatic
#665920 #94822F #C2AB3E #D1BF6D #DFD39B

Accessibility & contrast

On white

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

On black

9.19
#C2AB3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AB3E
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AB3E#FFFFFF#000000##000000
##C2AB3E1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72F
Deuteranopia (green-blind)
#C2AF44
Tritanopia (blue-blind)
#D19E95
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2ab3e;
/* rgb */ color: rgb(194, 171, 62);
/* oklch */ color: oklch(74.1% 0.129 97.1);
Tailwind
colors: {
  custom: {
    50: '#d8c379',
    500: '#c2ab3e',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab3e;
$custom-light: #d8c379;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab3e",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 62
  },
  "hsl": {
    "h": 49.545,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74124,
    "c": 0.12881,
    "h": 97.1
  },
  "luminance": 0.40943
}

Semantic roles & 50–950 ramp

primary
#C2AB3E
secondary
#909BCB
accent
#65DB4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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