#C2A83A#C2A83A

#C2A83A is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.5% C 0.129 H 95.6°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#C2A83A
RGBrgb(194, 168, 58)
HSLhsl(49, 54%, 49%)
HSVhsv(49, 70%, 76%)
CMYKcmyk(0%, 13.4%, 70.1%, 23.9%)
CIE-LABlab(69.31, -2.60, 57.67)
CIE-LCHlch(69.31, 57.73, 92.58°)
OKLaboklab(73.46% -0.0126 0.1288)
OKLCHoklch(73.46% 0.129 95.6)
XYZxyz(37.0163, 39.7820, 9.7311)
Luminance0.3978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A83A #3A54C2
analogous
#C2643A #C2A83A #98C23A
triadic
#C2A83A #3AC2A8 #A83AC2
tetradic
#C2A83A #3AC264 #3A54C2 #C23A98
square
#C2A83A #3AC264 #3A54C2 #C23A98
split-complementary
#C2A83A #3A98C2 #643AC2
monochromatic
#64561E #937F2C #C2A83A #D2BD67 #E0D297

Accessibility & contrast

On white

2.34
#C2A83A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#C2A83A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A83A
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A83A#FFFFFF#000000##000000
##C2A83A1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A52A
Deuteranopia (green-blind)
#C0AD40
Tritanopia (blue-blind)
#D19B92
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c2a83a;
/* rgb */ color: rgb(194, 168, 58);
/* oklch */ color: oklch(73.5% 0.129 95.6);
Tailwind
colors: {
  custom: {
    50: '#d8c177',
    500: '#c2a83a',
    950: '#000000',
  },
}
SCSS
$custom: #c2a83a;
$custom-light: #d8c177;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a83a",
  "rgb": {
    "r": 194,
    "g": 168,
    "b": 58
  },
  "hsl": {
    "h": 48.529,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73463,
    "c": 0.12942,
    "h": 95.6
  },
  "luminance": 0.3978
}

Semantic roles & 50–950 ramp

primary
#C2A83A
secondary
#8D99CB
accent
#67DD4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A83A

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

Preview Lab → · Contrast checker → · Palette generator →

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