#C0AF4E#C0AF4E

#C0AF4E is a light, moderate yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.119 H 99.5°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#C0AF4E
RGBrgb(192, 175, 78)
HSLhsl(51, 48%, 53%)
HSVhsv(51, 59%, 75%)
CMYKcmyk(0%, 8.9%, 59.4%, 24.7%)
CIE-LABlab(71.16, -5.91, 50.87)
CIE-LCHlch(71.16, 51.21, 96.62°)
OKLaboklab(74.94% -0.0196 0.1175)
OKLCHoklch(74.94% 0.119 99.5)
XYZxyz(38.4448, 42.4181, 13.3687)
Luminance0.4242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AF4E #4E5FC0
analogous
#C0764E #C0AF4E #98C04E
triadic
#C0AF4E #4EC0AF #AF4EC0
tetradic
#C0AF4E #4EC076 #4E5FC0 #C04E98
square
#C0AF4E #4EC076 #4E5FC0 #C04E98
split-complementary
#C0AF4E #4E98C0 #764EC0
monochromatic
#6D6227 #9A8B37 #C0AF4E #D0C37B #E0D8A8

Accessibility & contrast

On white

2.21
#C0AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#C0AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AF4E
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AF4E#FFFFFF#000000##000000
##C0AF4E1.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB44
Deuteranopia (green-blind)
#C3B153
Tritanopia (blue-blind)
#CEA49A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c0af4e;
/* rgb */ color: rgb(192, 175, 78);
/* oklch */ color: oklch(74.9% 0.119 99.5);
Tailwind
colors: {
  custom: {
    50: '#d6c683',
    500: '#c0af4e',
    950: '#000000',
  },
}
SCSS
$custom: #c0af4e;
$custom-light: #d6c683;
$custom-dark: #000000;
JSON
{
  "hex": "#c0af4e",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 51.053,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.74935,
    "c": 0.11911,
    "h": 99.5
  },
  "luminance": 0.42416
}

Semantic roles & 50–950 ramp

primary
#C0AF4E
secondary
#9CA4CE
accent
#65D751
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C0AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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