#6A8231#6A8231

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

Color values

HEX#6A8231
RGBrgb(106, 130, 49)
HSLhsl(78, 45%, 35%)
HSVhsv(78, 62%, 51%)
CMYKcmyk(18.5%, 0%, 62.3%, 49%)
CIE-LABlab(50.98, -21.66, 39.98)
CIE-LCHlch(50.98, 45.47, 118.44°)
OKLaboklab(57% -0.0619 0.0924)
OKLCHoklch(57% 0.111 123.8)
XYZxyz(14.4810, 19.2511, 5.8581)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8231 #493182
analogous
#827131 #6A8231 #418231
triadic
#6A8231 #316A82 #82316A
tetradic
#6A8231 #318271 #493182 #823141
square
#6A8231 #318271 #493182 #823141
split-complementary
#6A8231 #314182 #713182
monochromatic
#22290F #465620 #6A8231 #8EAE42 #AAC668

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A8231#FFFFFF#000000##000000
##6A82311.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)
#897A28
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#6F7C71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6a8231;
/* rgb */ color: rgb(106, 130, 49);
/* oklch */ color: oklch(57.0% 0.111 123.8);
Tailwind
colors: {
  custom: {
    50: '#97a66d',
    500: '#6a8231',
    950: '#000000',
  },
}
SCSS
$custom: #6a8231;
$custom-light: #97a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8231",
  "rgb": {
    "r": 106,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 77.778,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56998,
    "c": 0.11119,
    "h": 123.8
  },
  "luminance": 0.19251
}

Semantic roles & 50–950 ramp

primary
#6A8231
secondary
#7862AD
accent
#53D579
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6A8231

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

Preview Lab → · Contrast checker → · Palette generator →

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