#C2AF4A#C2AF4A

#C2AF4A is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.1% C 0.123 H 98.7°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#C2AF4A
RGBrgb(194, 175, 74)
HSLhsl(51, 50%, 53%)
HSVhsv(51, 62%, 76%)
CMYKcmyk(0%, 9.8%, 61.9%, 23.9%)
CIE-LABlab(71.30, -5.33, 52.90)
CIE-LCHlch(71.30, 53.17, 95.76°)
OKLaboklab(75.08% -0.0185 0.1213)
OKLCHoklch(75.08% 0.123 98.7)
XYZxyz(38.8157, 42.6254, 12.6602)
Luminance0.4262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF4A #4A5DC2
analogous
#C2734A #C2AF4A #99C24A
triadic
#C2AF4A #4AC2AF #AF4AC2
tetradic
#C2AF4A #4AC273 #4A5DC2 #C24A99
square
#C2AF4A #4AC273 #4A5DC2 #C24A99
split-complementary
#C2AF4A #4A99C2 #734AC2
monochromatic
#6D6125 #9B8A34 #C2AF4A #D1C378 #E1D7A6

Accessibility & contrast

On white

2.20
#C2AF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#C2AF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF4A
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF4A#FFFFFF#000000##000000
##C2AF4A1.002.209.529.52
#FFFFFF2.201.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB3F
Deuteranopia (green-blind)
#C4B24F
Tritanopia (blue-blind)
#D0A399
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2af4a;
/* rgb */ color: rgb(194, 175, 74);
/* oklch */ color: oklch(75.1% 0.123 98.7);
Tailwind
colors: {
  custom: {
    50: '#d7c681',
    500: '#c2af4a',
    950: '#000000',
  },
}
SCSS
$custom: #c2af4a;
$custom-light: #d7c681;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af4a",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 50.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75078,
    "c": 0.12266,
    "h": 98.7
  },
  "luminance": 0.42624
}

Semantic roles & 50–950 ramp

primary
#C2AF4A
secondary
#9AA2CE
accent
#65D94F
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2AF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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