#C2AF5D#C2AF5D

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

Color values

HEX#C2AF5D
RGBrgb(194, 175, 93)
HSLhsl(49, 45%, 56%)
HSVhsv(49, 52%, 76%)
CMYKcmyk(0%, 9.8%, 52.1%, 23.9%)
CIE-LABlab(71.50, -3.86, 44.12)
CIE-LCHlch(71.50, 44.29, 95.00°)
OKLaboklab(75.3% -0.0121 0.1045)
OKLCHoklch(75.3% 0.105 96.6)
XYZxyz(39.5552, 42.9212, 16.5549)
Luminance0.4292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF5D #5D70C2
analogous
#C27D5D #C2AF5D #A3C25D
triadic
#C2AF5D #5DC2AF #AF5DC2
tetradic
#C2AF5D #5DC27D #5D70C2 #C25DA3
square
#C2AF5D #5DC27D #5D70C2 #C25DA3
split-complementary
#C2AF5D #5DA3C2 #7D5DC2
monochromatic
#786A2D #A4913E #C2AF5D #D3C589 #E3DBB6

Accessibility & contrast

On white

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

On black

9.58
#C2AF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF5D
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF5D#FFFFFF#000000##000000
##C2AF5D1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2af5d;
/* rgb */ color: rgb(194, 175, 93);
/* oklch */ color: oklch(75.3% 0.105 96.6);
Tailwind
colors: {
  custom: {
    50: '#d6c68d',
    500: '#c2af5d',
    950: '#000000',
  },
}
SCSS
$custom: #c2af5d;
$custom-light: #d6c68d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af5d",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 93
  },
  "hsl": {
    "h": 48.713,
    "s": 45.291,
    "l": 56.275
  },
  "oklch": {
    "l": 0.75302,
    "c": 0.10517,
    "h": 96.6
  },
  "luminance": 0.4292
}

Semantic roles & 50–950 ramp

primary
#C2AF5D
secondary
#A9B0D2
accent
#6BD553
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2AF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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