#C2A839#C2A839

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

Color values

HEX#C2A839
RGBrgb(194, 168, 57)
HSLhsl(49, 55%, 49%)
HSVhsv(49, 71%, 76%)
CMYKcmyk(0%, 13.4%, 70.6%, 23.9%)
CIE-LABlab(69.31, -2.65, 58.07)
CIE-LCHlch(69.31, 58.13, 92.61°)
OKLaboklab(73.46% -0.0128 0.1295)
OKLCHoklch(73.46% 0.13 95.7)
XYZxyz(36.9911, 39.7720, 9.5984)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A839 #3953C2
analogous
#C26439 #C2A839 #98C239
triadic
#C2A839 #39C2A8 #A839C2
tetradic
#C2A839 #39C264 #3953C2 #C23998
square
#C2A839 #39C264 #3953C2 #C23998
split-complementary
#C2A839 #3998C2 #6439C2
monochromatic
#63561D #937F2B #C2A839 #D2BE66 #E0D295

Accessibility & contrast

On white

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

On black

8.95
#C2A839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A839
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A839#FFFFFF#000000##000000
##C2A8391.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2a839;
/* rgb */ color: rgb(194, 168, 57);
/* oklch */ color: oklch(73.5% 0.130 95.7);
Tailwind
colors: {
  custom: {
    50: '#d8c176',
    500: '#c2a839',
    950: '#000000',
  },
}
SCSS
$custom: #c2a839;
$custom-light: #d8c176;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a839",
  "rgb": {
    "r": 194,
    "g": 168,
    "b": 57
  },
  "hsl": {
    "h": 48.613,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73455,
    "c": 0.1301,
    "h": 95.7
  },
  "luminance": 0.3977
}

Semantic roles & 50–950 ramp

primary
#C2A839
secondary
#8B98CB
accent
#66DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A839

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

Preview Lab → · Contrast checker → · Palette generator →

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