#C6AE38#C6AE38

#C6AE38 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.1% C 0.135 H 97.4°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#C6AE38
RGBrgb(198, 174, 56)
HSLhsl(50, 56%, 50%)
HSVhsv(50, 72%, 78%)
CMYKcmyk(0%, 12.1%, 71.7%, 22.4%)
CIE-LABlab(71.26, -4.13, 60.53)
CIE-LCHlch(71.26, 60.67, 93.90°)
OKLaboklab(75.09% -0.0174 0.1343)
OKLCHoklch(75.09% 0.135 97.4)
XYZxyz(39.1405, 42.5654, 9.8949)
Luminance0.4256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AE38 #3850C6
analogous
#C66738 #C6AE38 #97C638
triadic
#C6AE38 #38C6AE #AE38C6
tetradic
#C6AE38 #38C667 #3850C6 #C63897
square
#C6AE38 #38C667 #3850C6 #C63897
split-complementary
#C6AE38 #3897C6 #6738C6
monochromatic
#675A1D #96842B #C6AE38 #D4C267 #E2D597

Accessibility & contrast

On white

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

On black

9.51
#C6AE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AE38
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AE38#FFFFFF#000000##000000
##C6AE381.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA26
Deuteranopia (green-blind)
#C6B23F
Tritanopia (blue-blind)
#D6A197
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c6ae38;
/* rgb */ color: rgb(198, 174, 56);
/* oklch */ color: oklch(75.1% 0.135 97.4);
Tailwind
colors: {
  custom: {
    50: '#dbc576',
    500: '#c6ae38',
    950: '#000000',
  },
}
SCSS
$custom: #c6ae38;
$custom-light: #dbc576;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ae38",
  "rgb": {
    "r": 198,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 49.859,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75086,
    "c": 0.13546,
    "h": 97.4
  },
  "luminance": 0.42563
}

Semantic roles & 50–950 ramp

primary
#C6AE38
secondary
#8D98CD
accent
#62DF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C6AE38

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

Preview Lab → · Contrast checker → · Palette generator →

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