#C6AF36#C6AF36

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

Color values

HEX#C6AF36
RGBrgb(198, 175, 54)
HSLhsl(50, 57%, 49%)
HSVhsv(50, 73%, 78%)
CMYKcmyk(0%, 11.6%, 72.7%, 22.4%)
CIE-LABlab(71.51, -4.75, 61.53)
CIE-LCHlch(71.51, 61.72, 94.41°)
OKLaboklab(75.28% -0.0194 0.1361)
OKLCHoklch(75.28% 0.137 98.1)
XYZxyz(39.2865, 42.9340, 9.7071)
Luminance0.4293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AF36 #364DC6
analogous
#C66736 #C6AF36 #95C636
triadic
#C6AF36 #36C6AF #AF36C6
tetradic
#C6AF36 #36C667 #364DC6 #C63695
square
#C6AF36 #36C667 #364DC6 #C63695
split-complementary
#C6AF36 #3695C6 #6736C6
monochromatic
#665A1C #968529 #C6AF36 #D5C364 #E2D694

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6AF36#FFFFFF#000000##000000
##C6AF361.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)
#C0AB22
Deuteranopia (green-blind)
#C7B33E
Tritanopia (blue-blind)
#D6A297
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c6af36;
/* rgb */ color: rgb(198, 175, 54);
/* oklch */ color: oklch(75.3% 0.137 98.1);
Tailwind
colors: {
  custom: {
    50: '#dbc675',
    500: '#c6af36',
    950: '#000000',
  },
}
SCSS
$custom: #c6af36;
$custom-light: #dbc675;
$custom-dark: #000000;
JSON
{
  "hex": "#c6af36",
  "rgb": {
    "r": 198,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 50.417,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75281,
    "c": 0.13747,
    "h": 98.1
  },
  "luminance": 0.42932
}

Semantic roles & 50–950 ramp

primary
#C6AF36
secondary
#8B95CD
accent
#60E047
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#151309
muted
#84827B

Preview Lab

Preview with #C6AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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