#C6AF2B#C6AF2B

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

Color values

HEX#C6AF2B
RGBrgb(198, 175, 43)
HSLhsl(51, 64%, 47%)
HSVhsv(51, 78%, 78%)
CMYKcmyk(0%, 11.6%, 78.3%, 22.4%)
CIE-LABlab(71.45, -5.20, 65.30)
CIE-LCHlch(71.45, 65.51, 94.56°)
OKLaboklab(75.21% -0.0217 0.142)
OKLCHoklch(75.21% 0.144 98.7)
XYZxyz(39.0567, 42.8421, 8.4972)
Luminance0.4284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AF2B #2B42C6
analogous
#C6622B #C6AF2B #8FC62B
triadic
#C6AF2B #2BC6AF #AF2BC6
tetradic
#C6AF2B #2BC662 #2B42C6 #C62B8F
square
#C6AF2B #2BC662 #2B42C6 #C62B8F
split-complementary
#C6AF2B #2B8FC6 #622BC6
monochromatic
#615615 #948320 #C6AF2B #DAC654 #E5D787

Accessibility & contrast

On white

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

On black

9.57
#C6AF2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AF2B
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AF2B#FFFFFF#000000##000000
##C6AF2B1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6af2b;
/* rgb */ color: rgb(198, 175, 43);
/* oklch */ color: oklch(75.2% 0.144 98.7);
Tailwind
colors: {
  custom: {
    50: '#dcc670',
    500: '#c6af2b',
    950: '#000000',
  },
}
SCSS
$custom: #c6af2b;
$custom-light: #dcc670;
$custom-dark: #000000;
JSON
{
  "hex": "#c6af2b",
  "rgb": {
    "r": 198,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 51.097,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75212,
    "c": 0.14365,
    "h": 98.7
  },
  "luminance": 0.4284
}

Semantic roles & 50–950 ramp

primary
#C6AF2B
secondary
#7F8ACE
accent
#59E740
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C6AF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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