#6A841F#6A841F

#6A841F is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.3% C 0.127 H 123.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6A841F
RGBrgb(106, 132, 31)
HSLhsl(75, 62%, 32%)
HSVhsv(75, 77%, 52%)
CMYKcmyk(19.7%, 0%, 76.5%, 48.2%)
CIE-LABlab(51.46, -23.95, 48.03)
CIE-LCHlch(51.46, 53.67, 116.50°)
OKLaboklab(57.34% -0.07 0.1066)
OKLCHoklch(57.34% 0.127 123.3)
XYZxyz(14.4426, 19.6655, 4.3310)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A841F #391F84
analogous
#846C1F #6A841F #37841F
triadic
#6A841F #1F6A84 #841F6A
tetradic
#6A841F #1F846C #391F84 #841F37
square
#6A841F #1F846C #391F84 #841F37
split-complementary
#6A841F #1F3784 #6C1F84
monochromatic
#1A2108 #425213 #6A841F #92B62B #B0D449

Accessibility & contrast

On white

4.26
#6A841F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#6A841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A841F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A841F#FFFFFF#000000##000000
##6A841F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B09
Deuteranopia (green-blind)
#897A28
Tritanopia (blue-blind)
#707D71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6a841f;
/* rgb */ color: rgb(106, 132, 31);
/* oklch */ color: oklch(57.3% 0.127 123.3);
Tailwind
colors: {
  custom: {
    50: '#98a763',
    500: '#6a841f',
    950: '#000000',
  },
}
SCSS
$custom: #6a841f;
$custom-light: #98a763;
$custom-dark: #000000;
JSON
{
  "hex": "#6a841f",
  "rgb": {
    "r": 106,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 75.446,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57338,
    "c": 0.12748,
    "h": 123.3
  },
  "luminance": 0.19666
}

Semantic roles & 50–950 ramp

primary
#6A841F
secondary
#6548B7
accent
#43E56D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6A841F

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

Preview Lab → · Contrast checker → · Palette generator →

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