#C6A740#C6A740

#C6A740 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.7% C 0.125 H 92.1°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#C6A740
RGBrgb(198, 167, 64)
HSLhsl(46, 54%, 51%)
HSVhsv(46, 68%, 78%)
CMYKcmyk(0%, 15.7%, 67.7%, 22.4%)
CIE-LABlab(69.48, 0.00, 55.46)
CIE-LCHlch(69.48, 55.46, 90.00°)
OKLaboklab(73.7% -0.0046 0.125)
OKLCHoklch(73.7% 0.125 92.1)
XYZxyz(38.0348, 40.0155, 10.5699)
Luminance0.4001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6A740 #405FC6
analogous
#C66440 #C6A740 #A2C640
triadic
#C6A740 #40C6A7 #A740C6
tetradic
#C6A740 #40C664 #405FC6 #C640A2
square
#C6A740 #40C664 #405FC6 #C640A2
split-complementary
#C6A740 #40A2C6 #6440C6
monochromatic
#6C5A20 #9B822E #C6A740 #D4BD6F #E2D29E

Accessibility & contrast

On white

2.33
#C6A740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#C6A740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6A740
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6A740#FFFFFF#000000##000000
##C6A7401.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A433
Deuteranopia (green-blind)
#C0AD45
Tritanopia (blue-blind)
#D69A92
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c6a740;
/* rgb */ color: rgb(198, 167, 64);
/* oklch */ color: oklch(73.7% 0.125 92.1);
Tailwind
colors: {
  custom: {
    50: '#dbc07a',
    500: '#c6a740',
    950: '#000000',
  },
}
SCSS
$custom: #c6a740;
$custom-light: #dbc07a;
$custom-dark: #000000;
JSON
{
  "hex": "#c6a740",
  "rgb": {
    "r": 198,
    "g": 167,
    "b": 64
  },
  "hsl": {
    "h": 46.119,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73699,
    "c": 0.12512,
    "h": 92.1
  },
  "luminance": 0.40013
}

Semantic roles & 50–950 ramp

primary
#C6A740
secondary
#93A1CE
accent
#6CDD4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C6A740

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

Preview Lab → · Contrast checker → · Palette generator →

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