#C6AF4E#C6AF4E

#C6AF4E is a light, moderate yellow. Relative luminance 0.432; OKLCH L 75.5% C 0.120 H 96.0°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#C6AF4E
RGBrgb(198, 175, 78)
HSLhsl(49, 51%, 54%)
HSVhsv(49, 61%, 78%)
CMYKcmyk(0%, 11.6%, 60.6%, 22.4%)
CIE-LABlab(71.70, -3.35, 51.63)
CIE-LCHlch(71.70, 51.73, 93.71°)
OKLaboklab(75.5% -0.0126 0.119)
OKLCHoklch(75.5% 0.12 96)
XYZxyz(39.9955, 43.2176, 13.4414)
Luminance0.4322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AF4E #4E65C6
analogous
#C6734E #C6AF4E #A1C64E
triadic
#C6AF4E #4EC6AF #AF4EC6
tetradic
#C6AF4E #4EC673 #4E65C6 #C64EA1
square
#C6AF4E #4EC673 #4E65C6 #C64EA1
split-complementary
#C6AF4E #4EA1C6 #734EC6
monochromatic
#746525 #A28D34 #C6AF4E #D5C47C #E4D9AB

Accessibility & contrast

On white

2.18
#C6AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#C6AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AF4E
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AF4E#FFFFFF#000000##000000
##C6AF4E1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB44
Deuteranopia (green-blind)
#C5B353
Tritanopia (blue-blind)
#D5A39A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c6af4e;
/* rgb */ color: rgb(198, 175, 78);
/* oklch */ color: oklch(75.5% 0.120 96.0);
Tailwind
colors: {
  custom: {
    50: '#dac683',
    500: '#c6af4e',
    950: '#000000',
  },
}
SCSS
$custom: #c6af4e;
$custom-light: #dac683;
$custom-dark: #000000;
JSON
{
  "hex": "#c6af4e",
  "rgb": {
    "r": 198,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 48.5,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.75495,
    "c": 0.11963,
    "h": 96
  },
  "luminance": 0.43216
}

Semantic roles & 50–950 ramp

primary
#C6AF4E
secondary
#9EA8D1
accent
#68DB4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C6AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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