#6C821B#6C821B

#6C821B is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 57.0% C 0.126 H 121.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6C821B
RGBrgb(108, 130, 27)
HSLhsl(73, 66%, 31%)
HSVhsv(73, 79%, 51%)
CMYKcmyk(16.9%, 0%, 79.2%, 49%)
CIE-LABlab(50.96, -22.28, 49.00)
CIE-LCHlch(50.96, 53.83, 114.45°)
OKLaboklab(56.96% -0.0658 0.1078)
OKLCHoklch(56.96% 0.126 121.4)
XYZxyz(14.3650, 19.2325, 3.9922)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C821B #311B82
analogous
#82641B #6C821B #38821B
triadic
#6C821B #1B6C82 #821B6C
tetradic
#6C821B #1B8264 #311B82 #821B38
square
#6C821B #1B8264 #311B82 #821B38
split-complementary
#6C821B #1B3882 #641B82
monochromatic
#181D06 #424F10 #6C821B #96B526 #B7D740

Accessibility & contrast

On white

4.33
#6C821B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#6C821B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C821B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C821B#FFFFFF#000000##000000
##6C821B1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A01
Deuteranopia (green-blind)
#887925
Tritanopia (blue-blind)
#727B6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6c821b;
/* rgb */ color: rgb(108, 130, 27);
/* oklch */ color: oklch(57.0% 0.126 121.4);
Tailwind
colors: {
  custom: {
    50: '#99a661',
    500: '#6c821b',
    950: '#000000',
  },
}
SCSS
$custom: #6c821b;
$custom-light: #99a661;
$custom-dark: #000000;
JSON
{
  "hex": "#6c821b",
  "rgb": {
    "r": 108,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 72.816,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56964,
    "c": 0.12634,
    "h": 121.4
  },
  "luminance": 0.19233
}

Semantic roles & 50–950 ramp

primary
#6C821B
secondary
#5C43B6
accent
#3FE963
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6C821B

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

Preview Lab → · Contrast checker → · Palette generator →

#6C821B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva