#C2A138#C2A138

#C2A138 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 72.0% C 0.126 H 91.1°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#C2A138
RGBrgb(194, 161, 56)
HSLhsl(46, 55%, 49%)
HSVhsv(46, 71%, 76%)
CMYKcmyk(0%, 17%, 71.1%, 23.9%)
CIE-LABlab(67.46, 1.04, 56.62)
CIE-LCHlch(67.46, 56.63, 88.95°)
OKLaboklab(72% -0.0024 0.1262)
OKLCHoklch(72% 0.126 91.1)
XYZxyz(35.7088, 37.2467, 9.0491)
Luminance0.3725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A138 #3859C2
analogous
#C25C38 #C2A138 #9EC238
triadic
#C2A138 #38C2A1 #A138C2
tetradic
#C2A138 #38C25C #3859C2 #C2389E
square
#C2A138 #38C25C #3859C2 #C2389E
split-complementary
#C2A138 #389EC2 #5C38C2
monochromatic
#63521D #937A2A #C2A138 #D2B865 #E0CE94

Accessibility & contrast

On white

2.49
#C2A138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#C2A138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A138
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A138#FFFFFF#000000##000000
##C2A1381.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F29
Deuteranopia (green-blind)
#BBA83D
Tritanopia (blue-blind)
#D2948C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c2a138;
/* rgb */ color: rgb(194, 161, 56);
/* oklch */ color: oklch(72.0% 0.126 91.1);
Tailwind
colors: {
  custom: {
    50: '#d8bc75',
    500: '#c2a138',
    950: '#000000',
  },
}
SCSS
$custom: #c2a138;
$custom-light: #d8bc75;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a138",
  "rgb": {
    "r": 194,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 45.652,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71995,
    "c": 0.12624,
    "h": 91.1
  },
  "luminance": 0.37245
}

Semantic roles & 50–950 ramp

primary
#C2A138
secondary
#8A9ACB
accent
#6DDF49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #C2A138

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

Preview Lab → · Contrast checker → · Palette generator →

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