#6C821F#6C821F

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

Color values

HEX#6C821F
RGBrgb(108, 130, 31)
HSLhsl(73, 61%, 32%)
HSVhsv(73, 76%, 51%)
CMYKcmyk(16.9%, 0%, 76.2%, 49%)
CIE-LABlab(50.98, -22.07, 47.63)
CIE-LCHlch(50.98, 52.49, 114.87°)
OKLaboklab(56.99% -0.0649 0.1056)
OKLCHoklch(56.99% 0.124 121.6)
XYZxyz(14.4145, 19.2523, 4.2527)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C821F #351F82
analogous
#82671F #6C821F #3B821F
triadic
#6C821F #1F6C82 #821F6C
tetradic
#6C821F #1F8267 #351F82 #821F3B
square
#6C821F #1F8267 #351F82 #821F3B
split-complementary
#6C821F #1F3B82 #671F82
monochromatic
#1A1F07 #435113 #6C821F #95B32B #B4D348

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C821F#FFFFFF#000000##000000
##6C821F1.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)
#8A7A0A
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#727B6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6c821f;
/* rgb */ color: rgb(108, 130, 31);
/* oklch */ color: oklch(57.0% 0.124 121.6);
Tailwind
colors: {
  custom: {
    50: '#99a663',
    500: '#6c821f',
    950: '#000000',
  },
}
SCSS
$custom: #6c821f;
$custom-light: #99a663;
$custom-dark: #000000;
JSON
{
  "hex": "#6c821f",
  "rgb": {
    "r": 108,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 73.333,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5699,
    "c": 0.124,
    "h": 121.6
  },
  "luminance": 0.19252
}

Semantic roles & 50–950 ramp

primary
#6C821F
secondary
#6048B5
accent
#43E567
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C821F

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

Preview Lab → · Contrast checker → · Palette generator →

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