#C2AF4E#C2AF4E

#C2AF4E is a light, moderate yellow. Relative luminance 0.427; OKLCH L 75.1% C 0.119 H 98.3°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#C2AF4E
RGBrgb(194, 175, 78)
HSLhsl(50, 49%, 53%)
HSVhsv(50, 60%, 76%)
CMYKcmyk(0%, 9.8%, 59.8%, 23.9%)
CIE-LABlab(71.34, -5.05, 51.12)
CIE-LCHlch(71.34, 51.37, 95.65°)
OKLaboklab(75.12% -0.0173 0.118)
OKLCHoklch(75.12% 0.119 98.3)
XYZxyz(38.9548, 42.6810, 13.3926)
Luminance0.4268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF4E #4E61C2
analogous
#C2754E #C2AF4E #9BC24E
triadic
#C2AF4E #4EC2AF #AF4EC2
tetradic
#C2AF4E #4EC275 #4E61C2 #C24E9B
square
#C2AF4E #4EC275 #4E61C2 #C24E9B
split-complementary
#C2AF4E #4E9BC2 #754EC2
monochromatic
#6F6326 #9D8C36 #C2AF4E #D2C47C #E1D8A9

Accessibility & contrast

On white

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

On black

9.54
#C2AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF4E
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF4E#FFFFFF#000000##000000
##C2AF4E1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2af4e;
/* rgb */ color: rgb(194, 175, 78);
/* oklch */ color: oklch(75.1% 0.119 98.3);
Tailwind
colors: {
  custom: {
    50: '#d7c683',
    500: '#c2af4e',
    950: '#000000',
  },
}
SCSS
$custom: #c2af4e;
$custom-light: #d7c683;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af4e",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 50.172,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7512,
    "c": 0.11923,
    "h": 98.3
  },
  "luminance": 0.42679
}

Semantic roles & 50–950 ramp

primary
#C2AF4E
secondary
#9DA5CF
accent
#66D850
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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