#C6C43B#C6C43B

#C6C43B is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.8% C 0.153 H 108.6°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#C6C43B
RGBrgb(198, 196, 59)
HSLhsl(59, 55%, 50%)
HSVhsv(59, 70%, 78%)
CMYKcmyk(0%, 1%, 70.2%, 22.4%)
CIE-LABlab(77.16, -15.30, 65.20)
CIE-LCHlch(77.16, 66.97, 103.21°)
OKLaboklab(79.79% -0.0486 0.1448)
OKLCHoklch(79.79% 0.153 108.6)
XYZxyz(43.8196, 51.8028, 11.8275)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C43B #3B3DC6
analogous
#C67F3B #C6C43B #82C63B
triadic
#C6C43B #3BC6C4 #C43BC6
tetradic
#C6C43B #3BC67F #3B3DC6 #C63B82
square
#C6C43B #3BC67F #3B3DC6 #C63B82
split-complementary
#C6C43B #3B82C6 #7F3BC6
monochromatic
#68671E #98962C #C6C43B #D4D26A #E2E19A

Accessibility & contrast

On white

1.85
#C6C43B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#C6C43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C43B
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C43B#FFFFFF#000000##000000
##C6C43B1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC24
Deuteranopia (green-blind)
#D6C145
Tritanopia (blue-blind)
#D4B7A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c6c43b;
/* rgb */ color: rgb(198, 196, 59);
/* oklch */ color: oklch(79.8% 0.153 108.6);
Tailwind
colors: {
  custom: {
    50: '#dbd57a',
    500: '#c6c43b',
    950: '#000000',
  },
}
SCSS
$custom: #c6c43b;
$custom-light: #dbd57a;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c43b",
  "rgb": {
    "r": 198,
    "g": 196,
    "b": 59
  },
  "hsl": {
    "h": 59.137,
    "s": 54.941,
    "l": 50.392
  },
  "oklch": {
    "l": 0.79787,
    "c": 0.15271,
    "h": 108.6
  },
  "luminance": 0.51801
}

Semantic roles & 50–950 ramp

primary
#C6C43B
secondary
#333472
accent
#4CDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6C43B

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

Preview Lab → · Contrast checker → · Palette generator →

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