#C2A833#C2A833

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

Color values

HEX#C2A833
RGBrgb(194, 168, 51)
HSLhsl(49, 58%, 48%)
HSVhsv(49, 74%, 76%)
CMYKcmyk(0%, 13.4%, 73.7%, 23.9%)
CIE-LABlab(69.27, -2.94, 60.36)
CIE-LCHlch(69.27, 60.43, 92.79°)
OKLaboklab(73.41% -0.0143 0.1332)
OKLCHoklch(73.41% 0.134 96.1)
XYZxyz(36.8502, 39.7156, 8.8562)
Luminance0.3971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A833 #334DC2
analogous
#C26033 #C2A833 #94C233
triadic
#C2A833 #33C2A8 #A833C2
tetradic
#C2A833 #33C260 #334DC2 #C23394
square
#C2A833 #33C260 #334DC2 #C23394
split-complementary
#C2A833 #3394C2 #6033C2
monochromatic
#61541A #927E26 #C2A833 #D5BF5E #E1D28E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2A833#FFFFFF#000000##000000
##C2A8331.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)
#B9A41F
Deuteranopia (green-blind)
#C0AD3A
Tritanopia (blue-blind)
#D29B91
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c2a833;
/* rgb */ color: rgb(194, 168, 51);
/* oklch */ color: oklch(73.4% 0.134 96.1);
Tailwind
colors: {
  custom: {
    50: '#d8c173',
    500: '#c2a833',
    950: '#000000',
  },
}
SCSS
$custom: #c2a833;
$custom-light: #d8c173;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a833",
  "rgb": {
    "r": 194,
    "g": 168,
    "b": 51
  },
  "hsl": {
    "h": 49.091,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7341,
    "c": 0.13396,
    "h": 96.1
  },
  "luminance": 0.39714
}

Semantic roles & 50–950 ramp

primary
#C2A833
secondary
#8592CC
accent
#62E246
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A833

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

Preview Lab → · Contrast checker → · Palette generator →

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