#C6AF3E#C6AF3E

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

Color values

HEX#C6AF3E
RGBrgb(198, 175, 62)
HSLhsl(50, 54%, 51%)
HSVhsv(50, 69%, 78%)
CMYKcmyk(0%, 11.6%, 68.7%, 22.4%)
CIE-LABlab(71.57, -4.34, 58.45)
CIE-LCHlch(71.57, 58.62, 94.25°)
OKLaboklab(75.34% -0.0173 0.131)
OKLCHoklch(75.34% 0.132 97.5)
XYZxyz(39.4900, 43.0155, 10.7792)
Luminance0.4301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AF3E #3E55C6
analogous
#C66B3E #C6AF3E #99C63E
triadic
#C6AF3E #3EC6AF #AF3EC6
tetradic
#C6AF3E #3EC66B #3E55C6 #C63E99
square
#C6AF3E #3EC66B #3E55C6 #C63E99
split-complementary
#C6AF3E #3E99C6 #6B3EC6
monochromatic
#6A5E1F #99872D #C6AF3E #D4C36D #E2D69C

Accessibility & contrast

On white

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

On black

9.60
#C6AF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AF3E
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AF3E#FFFFFF#000000##000000
##C6AF3E1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB2E
Deuteranopia (green-blind)
#C6B344
Tritanopia (blue-blind)
#D5A298
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c6af3e;
/* rgb */ color: rgb(198, 175, 62);
/* oklch */ color: oklch(75.3% 0.132 97.5);
Tailwind
colors: {
  custom: {
    50: '#dbc679',
    500: '#c6af3e',
    950: '#000000',
  },
}
SCSS
$custom: #c6af3e;
$custom-light: #dbc679;
$custom-dark: #000000;
JSON
{
  "hex": "#c6af3e",
  "rgb": {
    "r": 198,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 49.853,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75343,
    "c": 0.13217,
    "h": 97.5
  },
  "luminance": 0.43014
}

Semantic roles & 50–950 ramp

primary
#C6AF3E
secondary
#929CCE
accent
#63DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C6AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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