#C6AD2B#C6AD2B

#C6AD2B is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.8% C 0.142 H 97.6°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#C6AD2B
RGBrgb(198, 173, 43)
HSLhsl(50, 64%, 47%)
HSVhsv(50, 78%, 78%)
CMYKcmyk(0%, 12.6%, 78.3%, 22.4%)
CIE-LABlab(70.92, -4.15, 64.83)
CIE-LCHlch(70.92, 64.96, 93.67°)
OKLaboklab(74.79% -0.0188 0.141)
OKLCHoklch(74.79% 0.142 97.6)
XYZxyz(38.6704, 42.0694, 8.3684)
Luminance0.4207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AD2B #2B44C6
analogous
#C6602B #C6AD2B #91C62B
triadic
#C6AD2B #2BC6AD #AD2BC6
tetradic
#C6AD2B #2BC660 #2B44C6 #C62B91
square
#C6AD2B #2BC660 #2B44C6 #C62B91
split-complementary
#C6AD2B #2B91C6 #602BC6
monochromatic
#615515 #948120 #C6AD2B #DAC454 #E5D687

Accessibility & contrast

On white

2.23
#C6AD2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#C6AD2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AD2B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AD2B#FFFFFF#000000##000000
##C6AD2B1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA90A
Deuteranopia (green-blind)
#C6B134
Tritanopia (blue-blind)
#D69F95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c6ad2b;
/* rgb */ color: rgb(198, 173, 43);
/* oklch */ color: oklch(74.8% 0.142 97.6);
Tailwind
colors: {
  custom: {
    50: '#dcc56f',
    500: '#c6ad2b',
    950: '#000000',
  },
}
SCSS
$custom: #c6ad2b;
$custom-light: #dcc56f;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ad2b",
  "rgb": {
    "r": 198,
    "g": 173,
    "b": 43
  },
  "hsl": {
    "h": 50.323,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.74793,
    "c": 0.14221,
    "h": 97.6
  },
  "luminance": 0.42067
}

Semantic roles & 50–950 ramp

primary
#C6AD2B
secondary
#7F8BCE
accent
#5BE740
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C6AD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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