#C2A834#C2A834

#C2A834 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.4% C 0.133 H 96.1°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#C2A834
RGBrgb(194, 168, 52)
HSLhsl(49, 58%, 48%)
HSVhsv(49, 73%, 76%)
CMYKcmyk(0%, 13.4%, 73.2%, 23.9%)
CIE-LABlab(69.27, -2.89, 59.99)
CIE-LCHlch(69.27, 60.06, 92.76°)
OKLaboklab(73.42% -0.0141 0.1326)
OKLCHoklch(73.42% 0.133 96.1)
XYZxyz(36.8725, 39.7245, 8.9736)
Luminance0.3972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A834 #344EC2
analogous
#C26134 #C2A834 #95C234
triadic
#C2A834 #34C2A8 #A834C2
tetradic
#C2A834 #34C261 #344EC2 #C23495
square
#C2A834 #34C261 #344EC2 #C23495
split-complementary
#C2A834 #3495C2 #6134C2
monochromatic
#61541A #927E27 #C2A834 #D4BF5F #E1D28F

Accessibility & contrast

On white

2.35
#C2A834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#C2A834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A834
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A834#FFFFFF#000000##000000
##C2A8341.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A421
Deuteranopia (green-blind)
#C0AD3B
Tritanopia (blue-blind)
#D29B91
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c2a834;
/* rgb */ color: rgb(194, 168, 52);
/* oklch */ color: oklch(73.4% 0.133 96.1);
Tailwind
colors: {
  custom: {
    50: '#d8c173',
    500: '#c2a834',
    950: '#000000',
  },
}
SCSS
$custom: #c2a834;
$custom-light: #d8c173;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a834",
  "rgb": {
    "r": 194,
    "g": 168,
    "b": 52
  },
  "hsl": {
    "h": 49.014,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73418,
    "c": 0.13334,
    "h": 96.1
  },
  "luminance": 0.39723
}

Semantic roles & 50–950 ramp

primary
#C2A834
secondary
#8693CC
accent
#63E147
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A834

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

Preview Lab → · Contrast checker → · Palette generator →

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