#C6C839#C6C839

#C6C839 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.6% C 0.158 H 110.3°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#C6C839
RGBrgb(198, 200, 57)
HSLhsl(61, 57%, 50%)
HSVhsv(61, 72%, 78%)
CMYKcmyk(1%, 0%, 71.5%, 21.6%)
CIE-LABlab(78.23, -17.40, 66.95)
CIE-LCHlch(78.23, 69.17, 104.57°)
OKLaboklab(80.64% -0.0547 0.1481)
OKLCHoklch(80.64% 0.158 110.3)
XYZxyz(44.6830, 53.6110, 11.8643)
Luminance0.5361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C839 #3B39C8
analogous
#C88239 #C6C839 #7EC839
triadic
#C6C839 #39C6C8 #C839C6
tetradic
#C6C839 #39C882 #3B39C8 #C8397E
square
#C6C839 #39C882 #3B39C8 #C8397E
split-complementary
#C6C839 #397EC8 #8239C8
monochromatic
#68691D #98992B #C6C839 #D4D569 #E2E399

Accessibility & contrast

On white

1.79
#C6C839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#C6C839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C839
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C839#FFFFFF#000000##000000
##C6C8391.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1E
Deuteranopia (green-blind)
#D9C344
Tritanopia (blue-blind)
#D4BBAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c6c839;
/* rgb */ color: rgb(198, 200, 57);
/* oklch */ color: oklch(80.6% 0.158 110.3);
Tailwind
colors: {
  custom: {
    50: '#dbd879',
    500: '#c6c839',
    950: '#000000',
  },
}
SCSS
$custom: #c6c839;
$custom-light: #dbd879;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c839",
  "rgb": {
    "r": 198,
    "g": 200,
    "b": 57
  },
  "hsl": {
    "h": 60.839,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80639,
    "c": 0.15787,
    "h": 110.3
  },
  "luminance": 0.5361
}

Semantic roles & 50–950 ramp

primary
#C6C839
secondary
#333273
accent
#48E04A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6C839

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

Preview Lab → · Contrast checker → · Palette generator →

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