#C2A939#C2A939

#C2A939 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.7% C 0.131 H 96.3°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#C2A939
RGBrgb(194, 169, 57)
HSLhsl(49, 55%, 49%)
HSVhsv(49, 71%, 76%)
CMYKcmyk(0%, 12.9%, 70.6%, 23.9%)
CIE-LABlab(69.57, -3.18, 58.33)
CIE-LCHlch(69.57, 58.42, 93.12°)
OKLaboklab(73.66% -0.0143 0.13)
OKLCHoklch(73.66% 0.131 96.3)
XYZxyz(37.1765, 40.1426, 9.6602)
Luminance0.4014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A939 #3952C2
analogous
#C26539 #C2A939 #97C239
triadic
#C2A939 #39C2A9 #A939C2
tetradic
#C2A939 #39C265 #3952C2 #C23997
square
#C2A939 #39C265 #3952C2 #C23997
split-complementary
#C2A939 #3997C2 #6539C2
monochromatic
#63571D #93802B #C2A939 #D2BE66 #E0D295

Accessibility & contrast

On white

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

On black

9.03
#C2A939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A939
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A939#FFFFFF#000000##000000
##C2A9391.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2a939;
/* rgb */ color: rgb(194, 169, 57);
/* oklch */ color: oklch(73.7% 0.131 96.3);
Tailwind
colors: {
  custom: {
    50: '#d8c276',
    500: '#c2a939',
    950: '#000000',
  },
}
SCSS
$custom: #c2a939;
$custom-light: #d8c276;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a939",
  "rgb": {
    "r": 194,
    "g": 169,
    "b": 57
  },
  "hsl": {
    "h": 49.051,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73664,
    "c": 0.13082,
    "h": 96.3
  },
  "luminance": 0.40141
}

Semantic roles & 50–950 ramp

primary
#C2A939
secondary
#8B97CB
accent
#65DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A939

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

Preview Lab → · Contrast checker → · Palette generator →

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