#6D8522#6D8522

#6D8522 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.8% C 0.125 H 122.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6D8522
RGBrgb(109, 133, 34)
HSLhsl(75, 59%, 33%)
HSVhsv(75, 74%, 52%)
CMYKcmyk(18%, 0%, 74.4%, 47.8%)
CIE-LABlab(52.00, -22.99, 47.52)
CIE-LCHlch(52.00, 52.79, 115.82°)
OKLaboklab(57.83% -0.0672 0.1059)
OKLCHoklch(57.83% 0.125 122.4)
XYZxyz(14.9831, 20.1417, 4.6115)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8522 #3A2285
analogous
#856B22 #6D8522 #3C8522
triadic
#6D8522 #226D85 #85226D
tetradic
#6D8522 #22856B #3A2285 #85223C
square
#6D8522 #22856B #3A2285 #85223C
split-complementary
#6D8522 #223C85 #6B2285
monochromatic
#1D2409 #455416 #6D8522 #95B62E #B2D24F

Accessibility & contrast

On white

4.18
#6D8522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#6D8522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8522
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8522#FFFFFF#000000##000000
##6D85221.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0F
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#737E72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6d8522;
/* rgb */ color: rgb(109, 133, 34);
/* oklch */ color: oklch(57.8% 0.125 122.4);
Tailwind
colors: {
  custom: {
    50: '#9aa864',
    500: '#6d8522',
    950: '#000000',
  },
}
SCSS
$custom: #6d8522;
$custom-light: #9aa864;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8522",
  "rgb": {
    "r": 109,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 74.545,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57834,
    "c": 0.12547,
    "h": 122.4
  },
  "luminance": 0.20142
}

Semantic roles & 50–950 ramp

primary
#6D8522
secondary
#674DB6
accent
#45E26B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6D8522

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

Preview Lab → · Contrast checker → · Palette generator →

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