#6B8522#6B8522

#6B8522 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.7% C 0.126 H 123.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#6B8522
RGBrgb(107, 133, 34)
HSLhsl(76, 59%, 33%)
HSVhsv(76, 74%, 52%)
CMYKcmyk(19.5%, 0%, 74.4%, 47.8%)
CIE-LABlab(51.86, -23.85, 47.34)
CIE-LCHlch(51.86, 53.00, 116.74°)
OKLaboklab(57.68% -0.0695 0.1056)
OKLCHoklch(57.68% 0.126 123.4)
XYZxyz(14.7398, 20.0163, 4.6001)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8522 #3C2285
analogous
#856E22 #6B8522 #398522
triadic
#6B8522 #226B85 #85226B
tetradic
#6B8522 #22856E #3C2285 #852239
square
#6B8522 #22856E #3C2285 #852239
split-complementary
#6B8522 #223985 #6E2285
monochromatic
#1D2409 #445416 #6B8522 #92B62E #B0D24F

Accessibility & contrast

On white

4.20
#6B8522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#6B8522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8522
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8522#FFFFFF#000000##000000
##6B85221.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0F
Deuteranopia (green-blind)
#8A7B2B
Tritanopia (blue-blind)
#717E72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6b8522;
/* rgb */ color: rgb(107, 133, 34);
/* oklch */ color: oklch(57.7% 0.126 123.4);
Tailwind
colors: {
  custom: {
    50: '#98a864',
    500: '#6b8522',
    950: '#000000',
  },
}
SCSS
$custom: #6b8522;
$custom-light: #98a864;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8522",
  "rgb": {
    "r": 107,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 75.758,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57684,
    "c": 0.1264,
    "h": 123.4
  },
  "luminance": 0.20016
}

Semantic roles & 50–950 ramp

primary
#6B8522
secondary
#694DB6
accent
#45E26F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6B8522

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

Preview Lab → · Contrast checker → · Palette generator →

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