#C2A940#C2A940

#C2A940 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.7% C 0.126 H 95.7°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#C2A940
RGBrgb(194, 169, 64)
HSLhsl(48, 52%, 51%)
HSVhsv(48, 67%, 76%)
CMYKcmyk(0%, 12.9%, 67%, 23.9%)
CIE-LABlab(69.62, -2.80, 55.49)
CIE-LCHlch(69.62, 55.57, 92.88°)
OKLaboklab(73.72% -0.0124 0.1252)
OKLCHoklch(73.72% 0.126 95.7)
XYZxyz(37.3633, 40.2173, 10.6442)
Luminance0.4022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A940 #4059C2
analogous
#C26840 #C2A940 #9AC240
triadic
#C2A940 #40C2A9 #A940C2
tetradic
#C2A940 #40C268 #4059C2 #C2409A
square
#C2A940 #40C268 #4059C2 #C2409A
split-complementary
#C2A940 #409AC2 #6840C2
monochromatic
#675921 #958230 #C2A940 #D1BE6E #E0D39D

Accessibility & contrast

On white

2.32
#C2A940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#C2A940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A940
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A940#FFFFFF#000000##000000
##C2A9401.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA633
Deuteranopia (green-blind)
#C0AD45
Tritanopia (blue-blind)
#D19C93
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c2a940;
/* rgb */ color: rgb(194, 169, 64);
/* oklch */ color: oklch(73.7% 0.126 95.7);
Tailwind
colors: {
  custom: {
    50: '#d8c27a',
    500: '#c2a940',
    950: '#000000',
  },
}
SCSS
$custom: #c2a940;
$custom-light: #d8c27a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a940",
  "rgb": {
    "r": 194,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 48.462,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73723,
    "c": 0.12585,
    "h": 95.7
  },
  "luminance": 0.40215
}

Semantic roles & 50–950 ramp

primary
#C2A940
secondary
#929DCC
accent
#68DB4D
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A940

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

Preview Lab → · Contrast checker → · Palette generator →

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