#C2AF54#C2AF54

#C2AF54 is a light, moderate yellow. Relative luminance 0.428; OKLCH L 75.2% C 0.114 H 97.7°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#C2AF54
RGBrgb(194, 175, 84)
HSLhsl(50, 47%, 55%)
HSVhsv(50, 57%, 76%)
CMYKcmyk(0%, 9.8%, 56.7%, 23.9%)
CIE-LABlab(71.40, -4.61, 48.37)
CIE-LCHlch(71.40, 48.59, 95.44°)
OKLaboklab(75.19% -0.0152 0.1128)
OKLCHoklch(75.19% 0.114 97.7)
XYZxyz(39.1798, 42.7710, 14.5776)
Luminance0.4277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF54 #5467C2
analogous
#C27854 #C2AF54 #9EC254
triadic
#C2AF54 #54C2AF #AF54C2
tetradic
#C2AF54 #54C278 #5467C2 #C2549E
square
#C2AF54 #54C278 #5467C2 #C2549E
split-complementary
#C2AF54 #549EC2 #7854C2
monochromatic
#736629 #A08E39 #C2AF54 #D2C481 #E2D9AE

Accessibility & contrast

On white

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

On black

9.55
#C2AF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF54
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF54#FFFFFF#000000##000000
##C2AF541.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB4B
Deuteranopia (green-blind)
#C3B258
Tritanopia (blue-blind)
#D0A49B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2af54;
/* rgb */ color: rgb(194, 175, 84);
/* oklch */ color: oklch(75.2% 0.114 97.7);
Tailwind
colors: {
  custom: {
    50: '#d7c687',
    500: '#c2af54',
    950: '#000000',
  },
}
SCSS
$custom: #c2af54;
$custom-light: #d7c687;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af54",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 84
  },
  "hsl": {
    "h": 49.636,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.75189,
    "c": 0.11384,
    "h": 97.7
  },
  "luminance": 0.42769
}

Semantic roles & 50–950 ramp

primary
#C2AF54
secondary
#A2AAD0
accent
#68D751
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2AF54

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

Preview Lab → · Contrast checker → · Palette generator →

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