#6C851F#6C851F

#6C851F is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.7% C 0.128 H 122.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6C851F
RGBrgb(108, 133, 31)
HSLhsl(75, 62%, 32%)
HSVhsv(75, 77%, 52%)
CMYKcmyk(18.8%, 0%, 76.7%, 47.8%)
CIE-LABlab(51.91, -23.59, 48.51)
CIE-LCHlch(51.91, 53.95, 115.93°)
OKLaboklab(57.74% -0.0691 0.1075)
OKLCHoklch(57.74% 0.128 122.7)
XYZxyz(14.8194, 20.0621, 4.3877)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C851F #381F85
analogous
#856B1F #6C851F #39851F
triadic
#6C851F #1F6C85 #851F6C
tetradic
#6C851F #1F856B #381F85 #851F39
square
#6C851F #1F856B #381F85 #851F39
split-complementary
#6C851F #1F3985 #6B1F85
monochromatic
#1B2208 #445313 #6C851F #94B72B #B3D54A

Accessibility & contrast

On white

4.19
#6C851F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#6C851F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C851F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C851F#FFFFFF#000000##000000
##6C851F1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C08
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#727E72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6c851f;
/* rgb */ color: rgb(108, 133, 31);
/* oklch */ color: oklch(57.7% 0.128 122.7);
Tailwind
colors: {
  custom: {
    50: '#99a863',
    500: '#6c851f',
    950: '#000000',
  },
}
SCSS
$custom: #6c851f;
$custom-light: #99a863;
$custom-dark: #000000;
JSON
{
  "hex": "#6c851f",
  "rgb": {
    "r": 108,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 74.706,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57738,
    "c": 0.12781,
    "h": 122.7
  },
  "luminance": 0.20062
}

Semantic roles & 50–950 ramp

primary
#6C851F
secondary
#6449B7
accent
#43E56A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C851F

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

Preview Lab → · Contrast checker → · Palette generator →

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