#C6B142#C6B142

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

Color values

HEX#C6B142
RGBrgb(198, 177, 66)
HSLhsl(50, 54%, 52%)
HSVhsv(50, 67%, 78%)
CMYKcmyk(0%, 10.6%, 66.7%, 22.4%)
CIE-LABlab(72.13, -5.17, 57.38)
CIE-LCHlch(72.13, 57.61, 95.15°)
OKLaboklab(75.8% -0.0192 0.1294)
OKLCHoklch(75.8% 0.131 98.5)
XYZxyz(39.9960, 43.8453, 11.5095)
Luminance0.4384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B142 #4257C6
analogous
#C66F42 #C6B142 #99C642
triadic
#C6B142 #42C6B1 #B142C6
tetradic
#C6B142 #42C66F #4257C6 #C64299
square
#C6B142 #42C66F #4257C6 #C64299
split-complementary
#C6B142 #4299C6 #6F42C6
monochromatic
#6D6121 #9C8A2F #C6B142 #D4C471 #E2D8A0

Accessibility & contrast

On white

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

On black

9.77
#C6B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B142
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B142#FFFFFF#000000##000000
##C6B1421.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6b142;
/* rgb */ color: rgb(198, 177, 66);
/* oklch */ color: oklch(75.8% 0.131 98.5);
Tailwind
colors: {
  custom: {
    50: '#dbc87c',
    500: '#c6b142',
    950: '#000000',
  },
}
SCSS
$custom: #c6b142;
$custom-light: #dbc87c;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b142",
  "rgb": {
    "r": 198,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 50.455,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75796,
    "c": 0.13083,
    "h": 98.5
  },
  "luminance": 0.43843
}

Semantic roles & 50–950 ramp

primary
#C6B142
secondary
#959ECF
accent
#62DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C6B142

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

Preview Lab → · Contrast checker → · Palette generator →

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