#6A8522#6A8522

#6A8522 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.6% C 0.127 H 123.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6A8522
RGBrgb(106, 133, 34)
HSLhsl(76, 59%, 33%)
HSVhsv(76, 74%, 52%)
CMYKcmyk(20.3%, 0%, 74.4%, 47.8%)
CIE-LABlab(51.79, -24.28, 47.24)
CIE-LCHlch(51.79, 53.12, 117.20°)
OKLaboklab(57.61% -0.0706 0.1054)
OKLCHoklch(57.61% 0.127 123.8)
XYZxyz(14.6203, 19.9546, 4.5944)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8522 #3D2285
analogous
#856F22 #6A8522 #388522
triadic
#6A8522 #226A85 #85226A
tetradic
#6A8522 #22856F #3D2285 #852238
square
#6A8522 #22856F #3D2285 #852238
split-complementary
#6A8522 #223885 #6F2285
monochromatic
#1C2409 #435416 #6A8522 #91B62E #AED24F

Accessibility & contrast

On white

4.21
#6A8522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#6A8522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8522
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8522#FFFFFF#000000##000000
##6A85221.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C10
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#6F7E72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6a8522;
/* rgb */ color: rgb(106, 133, 34);
/* oklch */ color: oklch(57.6% 0.127 123.8);
Tailwind
colors: {
  custom: {
    50: '#98a864',
    500: '#6a8522',
    950: '#000000',
  },
}
SCSS
$custom: #6a8522;
$custom-light: #98a864;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8522",
  "rgb": {
    "r": 106,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 76.364,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5761,
    "c": 0.12687,
    "h": 123.8
  },
  "luminance": 0.19955
}

Semantic roles & 50–950 ramp

primary
#6A8522
secondary
#6A4DB6
accent
#45E270
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6A8522

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

Preview Lab → · Contrast checker → · Palette generator →

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