#C6AE25#C6AE25

#C6AE25 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 75.0% C 0.146 H 98.4°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#C6AE25
RGBrgb(198, 174, 37)
HSLhsl(51, 69%, 46%)
HSVhsv(51, 81%, 78%)
CMYKcmyk(0%, 12.1%, 81.3%, 22.4%)
CIE-LABlab(71.16, -4.88, 66.87)
CIE-LCHlch(71.16, 67.05, 94.18°)
OKLaboklab(74.97% -0.0213 0.1442)
OKLCHoklch(74.97% 0.146 98.4)
XYZxyz(38.7607, 42.4135, 7.8949)
Luminance0.4241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AE25 #253DC6
analogous
#C65D25 #C6AE25 #8DC625
triadic
#C6AE25 #25C6AE #AE25C6
tetradic
#C6AE25 #25C65D #253DC6 #C6258D
square
#C6AE25 #25C65D #253DC6 #C6258D
split-complementary
#C6AE25 #258DC6 #5D25C6
monochromatic
#5F5312 #92811B #C6AE25 #DDC84B #E7D77E

Accessibility & contrast

On white

2.21
#C6AE25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#C6AE25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AE25
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AE25#FFFFFF#000000##000000
##C6AE251.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C6B230
Tritanopia (blue-blind)
#D6A095
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c6ae25;
/* rgb */ color: rgb(198, 174, 37);
/* oklch */ color: oklch(75.0% 0.146 98.4);
Tailwind
colors: {
  custom: {
    50: '#dcc56d',
    500: '#c6ae25',
    950: '#000000',
  },
}
SCSS
$custom: #c6ae25;
$custom-light: #dcc56d;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ae25",
  "rgb": {
    "r": 198,
    "g": 174,
    "b": 37
  },
  "hsl": {
    "h": 51.056,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74971,
    "c": 0.14575,
    "h": 98.4
  },
  "luminance": 0.42411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C6AE25

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

Preview Lab → · Contrast checker → · Palette generator →

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