#C6A225#C6A225

#C6A225 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.5% C 0.138 H 91.4°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#C6A225
RGBrgb(198, 162, 37)
HSLhsl(47, 69%, 46%)
HSVhsv(47, 81%, 78%)
CMYKcmyk(0%, 18.2%, 81.3%, 22.4%)
CIE-LABlab(68.01, 1.48, 64.13)
CIE-LCHlch(68.01, 64.15, 88.68°)
OKLaboklab(72.48% -0.0033 0.1382)
OKLCHoklch(72.48% 0.138 91.4)
XYZxyz(36.5452, 37.9823, 7.1564)
Luminance0.3798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6A225 #2549C6
analogous
#C65125 #C6A225 #99C625
triadic
#C6A225 #25C6A2 #A225C6
tetradic
#C6A225 #25C651 #2549C6 #C62599
square
#C6A225 #25C651 #2549C6 #C62599
split-complementary
#C6A225 #2599C6 #5125C6
monochromatic
#5F4E12 #92781B #C6A225 #DDBD4B #E7D07E

Accessibility & contrast

On white

2.44
#C6A225 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#C6A225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6A225
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6A225#FFFFFF#000000##000000
##C6A2251.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#BEAA2D
Tritanopia (blue-blind)
#D7948B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c6a225;
/* rgb */ color: rgb(198, 162, 37);
/* oklch */ color: oklch(72.5% 0.138 91.4);
Tailwind
colors: {
  custom: {
    50: '#dcbd6b',
    500: '#c6a225',
    950: '#000000',
  },
}
SCSS
$custom: #c6a225;
$custom-light: #dcbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#c6a225",
  "rgb": {
    "r": 198,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 46.584,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72482,
    "c": 0.13827,
    "h": 91.4
  },
  "luminance": 0.3798
}

Semantic roles & 50–950 ramp

primary
#C6A225
secondary
#778BCF
accent
#64EB3C
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #C6A225

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

Preview Lab → · Contrast checker → · Palette generator →

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