#C6AD25#C6AD25

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

Color values

HEX#C6AD25
RGBrgb(198, 173, 37)
HSLhsl(51, 69%, 46%)
HSVhsv(51, 81%, 78%)
CMYKcmyk(0%, 12.6%, 81.3%, 22.4%)
CIE-LABlab(70.89, -4.36, 66.64)
CIE-LCHlch(70.89, 66.78, 93.74°)
OKLaboklab(74.76% -0.0199 0.1437)
OKLCHoklch(74.76% 0.145 97.9)
XYZxyz(38.5683, 42.0286, 7.8307)
Luminance0.4203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AD25 #253EC6
analogous
#C65C25 #C6AD25 #8EC625
triadic
#C6AD25 #25C6AD #AD25C6
tetradic
#C6AD25 #25C65C #253EC6 #C6258E
square
#C6AD25 #25C65C #253EC6 #C6258E
split-complementary
#C6AD25 #258EC6 #5C25C6
monochromatic
#5F5312 #92801B #C6AD25 #DDC74B #E7D77E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6AD25#FFFFFF#000000##000000
##C6AD251.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)
#BFA900
Deuteranopia (green-blind)
#C6B130
Tritanopia (blue-blind)
#D69F94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c6ad25;
/* rgb */ color: rgb(198, 173, 37);
/* oklch */ color: oklch(74.8% 0.145 97.9);
Tailwind
colors: {
  custom: {
    50: '#dcc56d',
    500: '#c6ad25',
    950: '#000000',
  },
}
SCSS
$custom: #c6ad25;
$custom-light: #dcc56d;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ad25",
  "rgb": {
    "r": 198,
    "g": 173,
    "b": 37
  },
  "hsl": {
    "h": 50.683,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74761,
    "c": 0.14505,
    "h": 97.9
  },
  "luminance": 0.42026
}

Semantic roles & 50–950 ramp

primary
#C6AD25
secondary
#7785CF
accent
#58EB3C
background
#FEFCF6
surface
#FCF8EC
border
#D5D1C7
text
#161208
muted
#84817B

Preview Lab

Preview with #C6AD25

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

Preview Lab → · Contrast checker → · Palette generator →

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