#C6AF25#C6AF25

#C6AF25 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.2% C 0.146 H 99.0°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#C6AF25
RGBrgb(198, 175, 37)
HSLhsl(51, 69%, 46%)
HSVhsv(51, 81%, 78%)
CMYKcmyk(0%, 11.6%, 81.3%, 22.4%)
CIE-LABlab(71.42, -5.41, 67.10)
CIE-LCHlch(71.42, 67.32, 94.61°)
OKLaboklab(75.18% -0.0228 0.1447)
OKLCHoklch(75.18% 0.146 99)
XYZxyz(38.9546, 42.8013, 7.9595)
Luminance0.4280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AF25 #253CC6
analogous
#C65F25 #C6AF25 #8CC625
triadic
#C6AF25 #25C6AF #AF25C6
tetradic
#C6AF25 #25C65F #253CC6 #C6258C
square
#C6AF25 #25C65F #253CC6 #C6258C
split-complementary
#C6AF25 #258CC6 #5F25C6
monochromatic
#5F5412 #92811B #C6AF25 #DDC84B #E7D87E

Accessibility & contrast

On white

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

On black

9.56
#C6AF25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AF25
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AF25#FFFFFF#000000##000000
##C6AF251.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C7B230
Tritanopia (blue-blind)
#D6A196
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c6af25;
/* rgb */ color: rgb(198, 175, 37);
/* oklch */ color: oklch(75.2% 0.146 99.0);
Tailwind
colors: {
  custom: {
    50: '#dcc66d',
    500: '#c6af25',
    950: '#000000',
  },
}
SCSS
$custom: #c6af25;
$custom-light: #dcc66d;
$custom-dark: #000000;
JSON
{
  "hex": "#c6af25",
  "rgb": {
    "r": 198,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 51.429,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75181,
    "c": 0.14646,
    "h": 99
  },
  "luminance": 0.42799
}

Semantic roles & 50–950 ramp

primary
#C6AF25
secondary
#7784CF
accent
#55EB3C
background
#FEFCF6
surface
#FCF8EC
border
#D5D1C7
text
#161208
muted
#84817B

Preview Lab

Preview with #C6AF25

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

Preview Lab → · Contrast checker → · Palette generator →

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