#C6B140#C6B140

#C6B140 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.8% C 0.132 H 98.6°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#C6B140
RGBrgb(198, 177, 64)
HSLhsl(51, 54%, 51%)
HSVhsv(51, 68%, 78%)
CMYKcmyk(0%, 10.6%, 67.7%, 22.4%)
CIE-LABlab(72.11, -5.28, 58.19)
CIE-LCHlch(72.11, 58.43, 95.19°)
OKLaboklab(75.78% -0.0198 0.1308)
OKLCHoklch(75.78% 0.132 98.6)
XYZxyz(39.9381, 43.8221, 11.2043)
Luminance0.4382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B140 #4055C6
analogous
#C66E40 #C6B140 #98C640
triadic
#C6B140 #40C6B1 #B140C6
tetradic
#C6B140 #40C66E #4055C6 #C64098
square
#C6B140 #40C66E #4055C6 #C64098
split-complementary
#C6B140 #4098C6 #6E40C6
monochromatic
#6C6020 #9B8A2E #C6B140 #D4C46F #E2D79E

Accessibility & contrast

On white

2.15
#C6B140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#C6B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B140
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B140#FFFFFF#000000##000000
##C6B1401.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD31
Deuteranopia (green-blind)
#C7B446
Tritanopia (blue-blind)
#D5A49A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c6b140;
/* rgb */ color: rgb(198, 177, 64);
/* oklch */ color: oklch(75.8% 0.132 98.6);
Tailwind
colors: {
  custom: {
    50: '#dbc87b',
    500: '#c6b140',
    950: '#000000',
  },
}
SCSS
$custom: #c6b140;
$custom-light: #dbc87b;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b140",
  "rgb": {
    "r": 198,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 50.597,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75778,
    "c": 0.1323,
    "h": 98.6
  },
  "luminance": 0.4382
}

Semantic roles & 50–950 ramp

primary
#C6B140
secondary
#939DCE
accent
#61DD4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C6B140

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

Preview Lab → · Contrast checker → · Palette generator →

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