#C6AF35#C6AF35

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

Color values

HEX#C6AF35
RGBrgb(198, 175, 53)
HSLhsl(50, 58%, 49%)
HSVhsv(50, 73%, 78%)
CMYKcmyk(0%, 11.6%, 73.2%, 22.4%)
CIE-LABlab(71.50, -4.79, 61.90)
CIE-LCHlch(71.50, 62.09, 94.43°)
OKLaboklab(75.27% -0.0196 0.1367)
OKLCHoklch(75.27% 0.138 98.2)
XYZxyz(39.2632, 42.9247, 9.5847)
Luminance0.4292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AF35 #354CC6
analogous
#C66735 #C6AF35 #95C635
triadic
#C6AF35 #35C6AF #AF35C6
tetradic
#C6AF35 #35C667 #354CC6 #C63595
square
#C6AF35 #35C667 #354CC6 #C63595
split-complementary
#C6AF35 #3595C6 #6735C6
monochromatic
#655A1B #968428 #C6AF35 #D5C363 #E2D693

Accessibility & contrast

On white

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

On black

9.58
#C6AF35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AF35
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AF35#FFFFFF#000000##000000
##C6AF351.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB20
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#D6A297
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c6af35;
/* rgb */ color: rgb(198, 175, 53);
/* oklch */ color: oklch(75.3% 0.138 98.2);
Tailwind
colors: {
  custom: {
    50: '#dbc675',
    500: '#c6af35',
    950: '#000000',
  },
}
SCSS
$custom: #c6af35;
$custom-light: #dbc675;
$custom-dark: #000000;
JSON
{
  "hex": "#c6af35",
  "rgb": {
    "r": 198,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 50.483,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75274,
    "c": 0.13809,
    "h": 98.2
  },
  "luminance": 0.42923
}

Semantic roles & 50–950 ramp

primary
#C6AF35
secondary
#8A94CD
accent
#5FE147
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#151309
muted
#84827B

Preview Lab

Preview with #C6AF35

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

Preview Lab → · Contrast checker → · Palette generator →

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