#C6BD3A#C6BD3A

#C6BD3A is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.3% C 0.147 H 105.4°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#C6BD3A
RGBrgb(198, 189, 58)
HSLhsl(56, 55%, 50%)
HSVhsv(56, 71%, 78%)
CMYKcmyk(0%, 4.5%, 70.7%, 22.4%)
CIE-LABlab(75.27, -11.80, 63.71)
CIE-LCHlch(75.27, 64.80, 100.50°)
OKLaboklab(78.27% -0.0389 0.1414)
OKLCHoklch(78.27% 0.147 105.4)
XYZxyz(42.2517, 48.7080, 11.1781)
Luminance0.4871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6BD3A #3A43C6
analogous
#C6773A #C6BD3A #89C63A
triadic
#C6BD3A #3AC6BD #BD3AC6
tetradic
#C6BD3A #3AC677 #3A43C6 #C63A89
square
#C6BD3A #3AC677 #3A43C6 #C63A89
split-complementary
#C6BD3A #3A89C6 #773AC6
monochromatic
#68631E #97902C #C6BD3A #D4CD69 #E1DD99

Accessibility & contrast

On white

1.96
#C6BD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#C6BD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6BD3A
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6BD3A#FFFFFF#000000##000000
##C6BD3A1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB624
Deuteranopia (green-blind)
#D1BC43
Tritanopia (blue-blind)
#D5B0A3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c6bd3a;
/* rgb */ color: rgb(198, 189, 58);
/* oklch */ color: oklch(78.3% 0.147 105.4);
Tailwind
colors: {
  custom: {
    50: '#dbd079',
    500: '#c6bd3a',
    950: '#000000',
  },
}
SCSS
$custom: #c6bd3a;
$custom-light: #dbd079;
$custom-dark: #000000;
JSON
{
  "hex": "#c6bd3a",
  "rgb": {
    "r": 198,
    "g": 189,
    "b": 58
  },
  "hsl": {
    "h": 56.143,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78275,
    "c": 0.14669,
    "h": 105.4
  },
  "luminance": 0.48706
}

Semantic roles & 50–950 ramp

primary
#C6BD3A
secondary
#8F93CD
accent
#53DE49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C6BD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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