#C6B42B#C6B42B

#C6B42B is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.3% C 0.147 H 101.4°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#C6B42B
RGBrgb(198, 180, 43)
HSLhsl(53, 64%, 47%)
HSVhsv(53, 78%, 78%)
CMYKcmyk(0%, 9.1%, 78.3%, 22.4%)
CIE-LABlab(72.78, -7.81, 66.50)
CIE-LCHlch(72.78, 66.96, 96.70°)
OKLaboklab(76.27% -0.0291 0.1446)
OKLCHoklch(76.27% 0.147 101.4)
XYZxyz(40.0479, 44.8246, 8.8276)
Luminance0.4482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B42B #2B3DC6
analogous
#C6662B #C6B42B #8BC62B
triadic
#C6B42B #2BC6B4 #B42BC6
tetradic
#C6B42B #2BC666 #2B3DC6 #C62B8B
square
#C6B42B #2BC666 #2B3DC6 #C62B8B
split-complementary
#C6B42B #2B8BC6 #662BC6
monochromatic
#615915 #948620 #C6B42B #DACA54 #E5DA87

Accessibility & contrast

On white

2.11
#C6B42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#C6B42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B42B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B42B#FFFFFF#000000##000000
##C6B42B1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE04
Deuteranopia (green-blind)
#CBB636
Tritanopia (blue-blind)
#D6A79B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c6b42b;
/* rgb */ color: rgb(198, 180, 43);
/* oklch */ color: oklch(76.3% 0.147 101.4);
Tailwind
colors: {
  custom: {
    50: '#dbca70',
    500: '#c6b42b',
    950: '#000000',
  },
}
SCSS
$custom: #c6b42b;
$custom-light: #dbca70;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b42b",
  "rgb": {
    "r": 198,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 53.032,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76266,
    "c": 0.14746,
    "h": 101.4
  },
  "luminance": 0.44823
}

Semantic roles & 50–950 ramp

primary
#C6B42B
secondary
#7F88CE
accent
#54E740
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C6B42B

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

Preview Lab → · Contrast checker → · Palette generator →

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