#C2AF4C#C2AF4C

#C2AF4C is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.1% C 0.121 H 98.5°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#C2AF4C
RGBrgb(194, 175, 76)
HSLhsl(50, 49%, 53%)
HSVhsv(50, 61%, 76%)
CMYKcmyk(0%, 9.8%, 60.8%, 23.9%)
CIE-LABlab(71.32, -5.20, 52.02)
CIE-LCHlch(71.32, 52.27, 95.70°)
OKLaboklab(75.1% -0.0179 0.1196)
OKLCHoklch(75.1% 0.121 98.5)
XYZxyz(38.8842, 42.6528, 13.0207)
Luminance0.4265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF4C #4C5FC2
analogous
#C2744C #C2AF4C #9AC24C
triadic
#C2AF4C #4CC2AF #AF4CC2
tetradic
#C2AF4C #4CC274 #4C5FC2 #C24C9A
square
#C2AF4C #4CC274 #4C5FC2 #C24C9A
split-complementary
#C2AF4C #4C9AC2 #744CC2
monochromatic
#6E6226 #9C8B35 #C2AF4C #D2C37A #E1D8A7

Accessibility & contrast

On white

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

On black

9.53
#C2AF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF4C
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF4C#FFFFFF#000000##000000
##C2AF4C1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB41
Deuteranopia (green-blind)
#C4B251
Tritanopia (blue-blind)
#D0A39A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2af4c;
/* rgb */ color: rgb(194, 175, 76);
/* oklch */ color: oklch(75.1% 0.121 98.5);
Tailwind
colors: {
  custom: {
    50: '#d7c682',
    500: '#c2af4c',
    950: '#000000',
  },
}
SCSS
$custom: #c2af4c;
$custom-light: #d7c682;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af4c",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 76
  },
  "hsl": {
    "h": 50.339,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75099,
    "c": 0.12096,
    "h": 98.5
  },
  "luminance": 0.42651
}

Semantic roles & 50–950 ramp

primary
#C2AF4C
secondary
#9BA4CE
accent
#65D94F
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2AF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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