#C6AA25#C6AA25

#C6AA25 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.143 H 96.2°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#C6AA25
RGBrgb(198, 170, 37)
HSLhsl(50, 69%, 46%)
HSVhsv(50, 81%, 78%)
CMYKcmyk(0%, 14.1%, 81.3%, 22.4%)
CIE-LABlab(70.10, -2.78, 65.95)
CIE-LCHlch(70.10, 66.01, 92.41°)
OKLaboklab(74.13% -0.0154 0.1422)
OKLCHoklch(74.13% 0.143 96.2)
XYZxyz(37.9995, 40.8909, 7.6411)
Luminance0.4089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AA25 #2541C6
analogous
#C65925 #C6AA25 #91C625
triadic
#C6AA25 #25C6AA #AA25C6
tetradic
#C6AA25 #25C659 #2541C6 #C62591
square
#C6AA25 #25C659 #2541C6 #C62591
split-complementary
#C6AA25 #2591C6 #5925C6
monochromatic
#5F5112 #927E1B #C6AA25 #DDC44B #E7D57E

Accessibility & contrast

On white

2.29
#C6AA25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#C6AA25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AA25
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AA25#FFFFFF#000000##000000
##C6AA251.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#C4AF2F
Tritanopia (blue-blind)
#D69C92
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c6aa25;
/* rgb */ color: rgb(198, 170, 37);
/* oklch */ color: oklch(74.1% 0.143 96.2);
Tailwind
colors: {
  custom: {
    50: '#dcc26c',
    500: '#c6aa25',
    950: '#000000',
  },
}
SCSS
$custom: #c6aa25;
$custom-light: #dcc26c;
$custom-dark: #000000;
JSON
{
  "hex": "#c6aa25",
  "rgb": {
    "r": 198,
    "g": 170,
    "b": 37
  },
  "hsl": {
    "h": 49.565,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74135,
    "c": 0.14302,
    "h": 96.2
  },
  "luminance": 0.40889
}

Semantic roles & 50–950 ramp

primary
#C6AA25
secondary
#7787CF
accent
#5BEB3C
background
#FEFBF6
surface
#FCF7EC
border
#D5D0C7
text
#161208
muted
#84817B

Preview Lab

Preview with #C6AA25

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

Preview Lab → · Contrast checker → · Palette generator →

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