#C6BD42#C6BD42

#C6BD42 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.3% C 0.141 H 105.1°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#C6BD42
RGBrgb(198, 189, 66)
HSLhsl(56, 54%, 52%)
HSVhsv(56, 67%, 78%)
CMYKcmyk(0%, 4.5%, 66.7%, 22.4%)
CIE-LABlab(75.32, -11.38, 60.68)
CIE-LCHlch(75.32, 61.74, 100.62°)
OKLaboklab(78.34% -0.0369 0.1364)
OKLCHoklch(78.34% 0.141 105.1)
XYZxyz(42.4713, 48.7959, 12.3345)
Luminance0.4879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6BD42 #424BC6
analogous
#C67B42 #C6BD42 #8DC642
triadic
#C6BD42 #42C6BD #BD42C6
tetradic
#C6BD42 #42C67B #424BC6 #C6428D
square
#C6BD42 #42C67B #424BC6 #C6428D
split-complementary
#C6BD42 #428DC6 #7B42C6
monochromatic
#6D6821 #9C942F #C6BD42 #D4CD71 #E2DEA0

Accessibility & contrast

On white

1.95
#C6BD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#C6BD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6BD42
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6BD42#FFFFFF#000000##000000
##C6BD421.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB631
Deuteranopia (green-blind)
#D0BC4A
Tritanopia (blue-blind)
#D4B1A4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c6bd42;
/* rgb */ color: rgb(198, 189, 66);
/* oklch */ color: oklch(78.3% 0.141 105.1);
Tailwind
colors: {
  custom: {
    50: '#dbd07d',
    500: '#c6bd42',
    950: '#000000',
  },
}
SCSS
$custom: #c6bd42;
$custom-light: #dbd07d;
$custom-dark: #000000;
JSON
{
  "hex": "#c6bd42",
  "rgb": {
    "r": 198,
    "g": 189,
    "b": 66
  },
  "hsl": {
    "h": 55.909,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.78337,
    "c": 0.1413,
    "h": 105.1
  },
  "luminance": 0.48794
}

Semantic roles & 50–950 ramp

primary
#C6BD42
secondary
#9599CF
accent
#55DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C6BD42

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

Preview Lab → · Contrast checker → · Palette generator →

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