#C2AF5E#C2AF5E

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

Color values

HEX#C2AF5E
RGBrgb(194, 175, 94)
HSLhsl(49, 45%, 56%)
HSVhsv(49, 52%, 76%)
CMYKcmyk(0%, 9.8%, 51.5%, 23.9%)
CIE-LABlab(71.51, -3.77, 43.64)
CIE-LCHlch(71.51, 43.80, 94.94°)
OKLaboklab(75.32% -0.0117 0.1035)
OKLCHoklch(75.32% 0.104 96.4)
XYZxyz(39.5998, 42.9390, 16.7897)
Luminance0.4294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF5E #5E71C2
analogous
#C27D5E #C2AF5E #A3C25E
triadic
#C2AF5E #5EC2AF #AF5EC2
tetradic
#C2AF5E #5EC27D #5E71C2 #C25EA3
square
#C2AF5E #5EC27D #5E71C2 #C25EA3
split-complementary
#C2AF5E #5EA3C2 #7D5EC2
monochromatic
#786A2E #A4913E #C2AF5E #D3C58A #E4DBB7

Accessibility & contrast

On white

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

On black

9.59
#C2AF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF5E
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF5E#FFFFFF#000000##000000
##C2AF5E1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAC57
Deuteranopia (green-blind)
#C2B261
Tritanopia (blue-blind)
#CFA49C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2af5e;
/* rgb */ color: rgb(194, 175, 94);
/* oklch */ color: oklch(75.3% 0.104 96.4);
Tailwind
colors: {
  custom: {
    50: '#d6c68d',
    500: '#c2af5e',
    950: '#000000',
  },
}
SCSS
$custom: #c2af5e;
$custom-light: #d6c68d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af5e",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 94
  },
  "hsl": {
    "h": 48.6,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.75316,
    "c": 0.10418,
    "h": 96.4
  },
  "luminance": 0.42937
}

Semantic roles & 50–950 ramp

primary
#C2AF5E
secondary
#A9B1D2
accent
#6CD553
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2AF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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