#C6A12A#C6A12A

#C6A12A is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.3% C 0.135 H 90.4°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#C6A12A
RGBrgb(198, 161, 42)
HSLhsl(46, 65%, 47%)
HSVhsv(46, 79%, 78%)
CMYKcmyk(0%, 18.7%, 78.8%, 22.4%)
CIE-LABlab(67.77, 2.19, 62.31)
CIE-LCHlch(67.77, 62.34, 87.99°)
OKLaboklab(72.3% -0.0008 0.1354)
OKLCHoklch(72.3% 0.135 90.4)
XYZxyz(36.4537, 37.6650, 7.5401)
Luminance0.3766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6A12A #2A4FC6
analogous
#C6532A #C6A12A #9DC62A
triadic
#C6A12A #2AC6A1 #A12AC6
tetradic
#C6A12A #2AC653 #2A4FC6 #C62A9D
square
#C6A12A #2AC653 #2A4FC6 #C62A9D
split-complementary
#C6A12A #2A9DC6 #532AC6
monochromatic
#614F15 #94781F #C6A12A #DABA53 #E5CE85

Accessibility & contrast

On white

2.46
#C6A12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#C6A12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6A12A
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6A12A#FFFFFF#000000##000000
##C6A12A1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F10
Deuteranopia (green-blind)
#BDA931
Tritanopia (blue-blind)
#D7938A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c6a12a;
/* rgb */ color: rgb(198, 161, 42);
/* oklch */ color: oklch(72.3% 0.135 90.4);
Tailwind
colors: {
  custom: {
    50: '#dcbc6e',
    500: '#c6a12a',
    950: '#000000',
  },
}
SCSS
$custom: #c6a12a;
$custom-light: #dcbc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c6a12a",
  "rgb": {
    "r": 198,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 45.769,
    "s": 65,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72305,
    "c": 0.13535,
    "h": 90.4
  },
  "luminance": 0.37663
}

Semantic roles & 50–950 ramp

primary
#C6A12A
secondary
#7D91CE
accent
#68E840
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161108
muted
#84807B

Preview Lab

Preview with #C6A12A

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

Preview Lab → · Contrast checker → · Palette generator →

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