#C6A938#C6A938

#C6A938 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 74.0% C 0.132 H 94.3°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#C6A938
RGBrgb(198, 169, 56)
HSLhsl(48, 56%, 50%)
HSVhsv(48, 72%, 78%)
CMYKcmyk(0%, 14.6%, 71.7%, 22.4%)
CIE-LABlab(69.94, -1.48, 59.23)
CIE-LCHlch(69.94, 59.25, 91.43°)
OKLaboklab(74.05% -0.0098 0.1316)
OKLCHoklch(74.05% 0.132 94.3)
XYZxyz(38.1925, 40.6693, 9.5789)
Luminance0.4067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6A938 #3855C6
analogous
#C66238 #C6A938 #9CC638
triadic
#C6A938 #38C6A9 #A938C6
tetradic
#C6A938 #38C662 #3855C6 #C6389C
square
#C6A938 #38C662 #3855C6 #C6389C
split-complementary
#C6A938 #389CC6 #6238C6
monochromatic
#67581D #96802B #C6A938 #D4BE67 #E2D297

Accessibility & contrast

On white

2.30
#C6A938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#C6A938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6A938
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6A938#FFFFFF#000000##000000
##C6A9381.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6a938;
/* rgb */ color: rgb(198, 169, 56);
/* oklch */ color: oklch(74.0% 0.132 94.3);
Tailwind
colors: {
  custom: {
    50: '#dbc276',
    500: '#c6a938',
    950: '#000000',
  },
}
SCSS
$custom: #c6a938;
$custom-light: #dbc276;
$custom-dark: #000000;
JSON
{
  "hex": "#c6a938",
  "rgb": {
    "r": 198,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 47.746,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74046,
    "c": 0.13196,
    "h": 94.3
  },
  "luminance": 0.40667
}

Semantic roles & 50–950 ramp

primary
#C6A938
secondary
#8D9ACD
accent
#67DF49
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#151209
muted
#84817B

Preview Lab

Preview with #C6A938

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

Preview Lab → · Contrast checker → · Palette generator →

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