#C6AF39#C6AF39

#C6AF39 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.3% C 0.136 H 97.9°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#C6AF39
RGBrgb(198, 175, 57)
HSLhsl(50, 55%, 50%)
HSVhsv(50, 71%, 78%)
CMYKcmyk(0%, 11.6%, 71.2%, 22.4%)
CIE-LABlab(71.53, -4.60, 60.41)
CIE-LCHlch(71.53, 60.58, 94.36°)
OKLaboklab(75.3% -0.0186 0.1343)
OKLCHoklch(75.3% 0.136 97.9)
XYZxyz(39.3591, 42.9631, 10.0896)
Luminance0.4296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AF39 #3950C6
analogous
#C66939 #C6AF39 #96C639
triadic
#C6AF39 #39C6AF #AF39C6
tetradic
#C6AF39 #39C669 #3950C6 #C63996
square
#C6AF39 #39C669 #3950C6 #C63996
split-complementary
#C6AF39 #3996C6 #6939C6
monochromatic
#675B1E #96852B #C6AF39 #D4C269 #E1D598

Accessibility & contrast

On white

2.19
#C6AF39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#C6AF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AF39
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AF39#FFFFFF#000000##000000
##C6AF391.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB27
Deuteranopia (green-blind)
#C6B340
Tritanopia (blue-blind)
#D5A297
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c6af39;
/* rgb */ color: rgb(198, 175, 57);
/* oklch */ color: oklch(75.3% 0.136 97.9);
Tailwind
colors: {
  custom: {
    50: '#dbc677',
    500: '#c6af39',
    950: '#000000',
  },
}
SCSS
$custom: #c6af39;
$custom-light: #dbc677;
$custom-dark: #000000;
JSON
{
  "hex": "#c6af39",
  "rgb": {
    "r": 198,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 50.213,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.75303,
    "c": 0.13555,
    "h": 97.9
  },
  "luminance": 0.42961
}

Semantic roles & 50–950 ramp

primary
#C6AF39
secondary
#8E98CD
accent
#62DF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C6AF39

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

Preview Lab → · Contrast checker → · Palette generator →

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