#C2A933#C2A933

#C2A933 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.6% C 0.135 H 96.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#C2A933
RGBrgb(194, 169, 51)
HSLhsl(50, 58%, 48%)
HSVhsv(50, 74%, 76%)
CMYKcmyk(0%, 12.9%, 73.7%, 23.9%)
CIE-LABlab(69.53, -3.47, 60.61)
CIE-LCHlch(69.53, 60.71, 93.28°)
OKLaboklab(73.62% -0.0158 0.1337)
OKLCHoklch(73.62% 0.135 96.7)
XYZxyz(37.0355, 40.0862, 8.9180)
Luminance0.4008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A933 #334CC2
analogous
#C26133 #C2A933 #94C233
triadic
#C2A933 #33C2A9 #A933C2
tetradic
#C2A933 #33C261 #334CC2 #C23394
square
#C2A933 #33C261 #334CC2 #C23394
split-complementary
#C2A933 #3394C2 #6133C2
monochromatic
#61551A #927F26 #C2A933 #D5C05E #E1D38E

Accessibility & contrast

On white

2.33
#C2A933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#C2A933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A933
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A933#FFFFFF#000000##000000
##C2A9331.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51F
Deuteranopia (green-blind)
#C1AD3A
Tritanopia (blue-blind)
#D19C92
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c2a933;
/* rgb */ color: rgb(194, 169, 51);
/* oklch */ color: oklch(73.6% 0.135 96.7);
Tailwind
colors: {
  custom: {
    50: '#d8c273',
    500: '#c2a933',
    950: '#000000',
  },
}
SCSS
$custom: #c2a933;
$custom-light: #d8c273;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a933",
  "rgb": {
    "r": 194,
    "g": 169,
    "b": 51
  },
  "hsl": {
    "h": 49.51,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7362,
    "c": 0.13466,
    "h": 96.7
  },
  "luminance": 0.40084
}

Semantic roles & 50–950 ramp

primary
#C2A933
secondary
#8591CC
accent
#61E246
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A933

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

Preview Lab → · Contrast checker → · Palette generator →

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