#C2AF5A#C2AF5A

#C2AF5A is a light, moderate yellow. Relative luminance 0.429; OKLCH L 75.3% C 0.108 H 97.0°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#C2AF5A
RGBrgb(194, 175, 90)
HSLhsl(49, 46%, 56%)
HSVhsv(49, 54%, 76%)
CMYKcmyk(0%, 9.8%, 53.6%, 23.9%)
CIE-LABlab(71.47, -4.12, 45.55)
CIE-LCHlch(71.47, 45.74, 95.17°)
OKLaboklab(75.26% -0.0131 0.1073)
OKLCHoklch(75.26% 0.108 97)
XYZxyz(39.4249, 42.8691, 15.8687)
Luminance0.4287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF5A #5A6DC2
analogous
#C27B5A #C2AF5A #A1C25A
triadic
#C2AF5A #5AC2AF #AF5AC2
tetradic
#C2AF5A #5AC27B #5A6DC2 #C25AA1
square
#C2AF5A #5AC27B #5A6DC2 #C25AA1
split-complementary
#C2AF5A #5AA1C2 #7B5AC2
monochromatic
#76682C #A3903C #C2AF5A #D3C587 #E3DAB3

Accessibility & contrast

On white

2.19
#C2AF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#C2AF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF5A
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF5A#FFFFFF#000000##000000
##C2AF5A1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB52
Deuteranopia (green-blind)
#C3B25E
Tritanopia (blue-blind)
#CFA49B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2af5a;
/* rgb */ color: rgb(194, 175, 90);
/* oklch */ color: oklch(75.3% 0.108 97.0);
Tailwind
colors: {
  custom: {
    50: '#d7c68b',
    500: '#c2af5a',
    950: '#000000',
  },
}
SCSS
$custom: #c2af5a;
$custom-light: #d7c68b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af5a",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 90
  },
  "hsl": {
    "h": 49.038,
    "s": 46.018,
    "l": 55.686
  },
  "oklch": {
    "l": 0.75263,
    "c": 0.10814,
    "h": 97
  },
  "luminance": 0.42867
}

Semantic roles & 50–950 ramp

primary
#C2AF5A
secondary
#A6AED2
accent
#6AD652
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2AF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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