#C2A751#C2A751

#C2A751 is a light, moderate yellow. Relative luminance 0.397; OKLCH L 73.5% C 0.110 H 92.1°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#C2A751
RGBrgb(194, 167, 81)
HSLhsl(46, 48%, 54%)
HSVhsv(46, 58%, 76%)
CMYKcmyk(0%, 13.9%, 58.2%, 23.9%)
CIE-LABlab(69.26, -0.59, 47.34)
CIE-LCHlch(69.26, 47.35, 90.72°)
OKLaboklab(73.49% -0.004 0.1103)
OKLCHoklch(73.49% 0.11 92.1)
XYZxyz(37.5537, 39.7027, 13.4683)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A751 #516CC2
analogous
#C26F51 #C2A751 #A5C251
triadic
#C2A751 #51C2A7 #A751C2
tetradic
#C2A751 #51C26F #516CC2 #C251A5
square
#C2A751 #51C26F #516CC2 #C251A5
split-complementary
#C2A751 #51A5C2 #6F51C2
monochromatic
#715F28 #9E8637 #C2A751 #D2BE7E #E2D5AC

Accessibility & contrast

On white

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

On black

8.94
#C2A751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A751
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A751#FFFFFF#000000##000000
##C2A7511.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A549
Deuteranopia (green-blind)
#BEAC55
Tritanopia (blue-blind)
#D09B94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c2a751;
/* rgb */ color: rgb(194, 167, 81);
/* oklch */ color: oklch(73.5% 0.110 92.1);
Tailwind
colors: {
  custom: {
    50: '#d7c084',
    500: '#c2a751',
    950: '#000000',
  },
}
SCSS
$custom: #c2a751;
$custom-light: #d7c084;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a751",
  "rgb": {
    "r": 194,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 45.664,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.73485,
    "c": 0.11032,
    "h": 92.1
  },
  "luminance": 0.39701
}

Semantic roles & 50–950 ramp

primary
#C2A751
secondary
#9FABD0
accent
#71D850
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C2A751

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

Preview Lab → · Contrast checker → · Palette generator →

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