#C6B242#C6B242

#C6B242 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.0% C 0.132 H 99.1°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#C6B242
RGBrgb(198, 178, 66)
HSLhsl(51, 54%, 52%)
HSVhsv(51, 67%, 78%)
CMYKcmyk(0%, 10.1%, 66.7%, 22.4%)
CIE-LABlab(72.39, -5.69, 57.65)
CIE-LCHlch(72.39, 57.93, 95.64°)
OKLaboklab(76.01% -0.0207 0.13)
OKLCHoklch(76.01% 0.132 99.1)
XYZxyz(40.1942, 44.2418, 11.5755)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B242 #4256C6
analogous
#C67042 #C6B242 #98C642
triadic
#C6B242 #42C6B2 #B242C6
tetradic
#C6B242 #42C670 #4256C6 #C64298
square
#C6B242 #42C670 #4256C6 #C64298
split-complementary
#C6B242 #4298C6 #7042C6
monochromatic
#6D6121 #9C8B2F #C6B242 #D4C571 #E2D8A0

Accessibility & contrast

On white

2.13
#C6B242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#C6B242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B242
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B242#FFFFFF#000000##000000
##C6B2421.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD33
Deuteranopia (green-blind)
#C8B548
Tritanopia (blue-blind)
#D5A59B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c6b242;
/* rgb */ color: rgb(198, 178, 66);
/* oklch */ color: oklch(76.0% 0.132 99.1);
Tailwind
colors: {
  custom: {
    50: '#dbc87c',
    500: '#c6b242',
    950: '#000000',
  },
}
SCSS
$custom: #c6b242;
$custom-light: #dbc87c;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b242",
  "rgb": {
    "r": 198,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 50.909,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76006,
    "c": 0.13164,
    "h": 99.1
  },
  "luminance": 0.4424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C6B242

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

Preview Lab → · Contrast checker → · Palette generator →

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