#C6B342#C6B342

#C6B342 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.2% C 0.132 H 99.7°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#C6B342
RGBrgb(198, 179, 66)
HSLhsl(51, 54%, 52%)
HSVhsv(51, 67%, 78%)
CMYKcmyk(0%, 9.6%, 66.7%, 22.4%)
CIE-LABlab(72.65, -6.21, 57.93)
CIE-LCHlch(72.65, 58.26, 96.12°)
OKLaboklab(76.22% -0.0222 0.1306)
OKLCHoklch(76.22% 0.132 99.7)
XYZxyz(40.3939, 44.6411, 11.6421)
Luminance0.4464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B342 #4255C6
analogous
#C67142 #C6B342 #97C642
triadic
#C6B342 #42C6B3 #B342C6
tetradic
#C6B342 #42C671 #4255C6 #C64297
square
#C6B342 #42C671 #4255C6 #C64297
split-complementary
#C6B342 #4297C6 #7142C6
monochromatic
#6D6221 #9C8C2F #C6B342 #D4C671 #E2D9A0

Accessibility & contrast

On white

2.12
#C6B342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#C6B342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B342
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B342#FFFFFF#000000##000000
##C6B3421.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE33
Deuteranopia (green-blind)
#C9B548
Tritanopia (blue-blind)
#D5A69C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c6b342;
/* rgb */ color: rgb(198, 179, 66);
/* oklch */ color: oklch(76.2% 0.132 99.7);
Tailwind
colors: {
  custom: {
    50: '#dbc97c',
    500: '#c6b342',
    950: '#000000',
  },
}
SCSS
$custom: #c6b342;
$custom-light: #dbc97c;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b342",
  "rgb": {
    "r": 198,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 51.364,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76216,
    "c": 0.13246,
    "h": 99.7
  },
  "luminance": 0.44639
}

Semantic roles & 50–950 ramp

primary
#C6B342
secondary
#959DCF
accent
#60DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C6B342

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

Preview Lab → · Contrast checker → · Palette generator →

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