#C2A847#C2A847

#C2A847 is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.6% C 0.120 H 94.2°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#C2A847
RGBrgb(194, 168, 71)
HSLhsl(47, 50%, 52%)
HSVhsv(47, 63%, 76%)
CMYKcmyk(0%, 13.4%, 63.4%, 23.9%)
CIE-LABlab(69.42, -1.83, 52.20)
CIE-LCHlch(69.42, 52.23, 92.01°)
OKLaboklab(73.58% -0.0088 0.1193)
OKLCHoklch(73.58% 0.12 94.2)
XYZxyz(37.3898, 39.9314, 11.6981)
Luminance0.3993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A847 #4761C2
analogous
#C26B47 #C2A847 #9FC247
triadic
#C2A847 #47C2A8 #A847C2
tetradic
#C2A847 #47C26B #4761C2 #C2479F
square
#C2A847 #47C26B #4761C2 #C2479F
split-complementary
#C2A847 #479FC2 #6B47C2
monochromatic
#6B5C24 #998333 #C2A847 #D1BE75 #E0D3A3

Accessibility & contrast

On white

2.34
#C2A847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#C2A847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A847
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A847#FFFFFF#000000##000000
##C2A8471.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A53C
Deuteranopia (green-blind)
#BFAD4C
Tritanopia (blue-blind)
#D19C93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c2a847;
/* rgb */ color: rgb(194, 168, 71);
/* oklch */ color: oklch(73.6% 0.120 94.2);
Tailwind
colors: {
  custom: {
    50: '#d8c17e',
    500: '#c2a847',
    950: '#000000',
  },
}
SCSS
$custom: #c2a847;
$custom-light: #d8c17e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a847",
  "rgb": {
    "r": 194,
    "g": 168,
    "b": 71
  },
  "hsl": {
    "h": 47.317,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73582,
    "c": 0.11966,
    "h": 94.2
  },
  "luminance": 0.3993
}

Semantic roles & 50–950 ramp

primary
#C2A847
secondary
#97A3CD
accent
#6CDA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2A847

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

Preview Lab → · Contrast checker → · Palette generator →

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