#6F8522#6F8522

#6F8522 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 58.0% C 0.125 H 121.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6F8522
RGBrgb(111, 133, 34)
HSLhsl(73, 59%, 33%)
HSVhsv(73, 74%, 52%)
CMYKcmyk(16.5%, 0%, 74.4%, 47.8%)
CIE-LABlab(52.14, -22.12, 47.71)
CIE-LCHlch(52.14, 52.59, 114.88°)
OKLaboklab(57.99% -0.065 0.1063)
OKLCHoklch(57.99% 0.125 121.5)
XYZxyz(15.2320, 20.2701, 4.6231)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8522 #382285
analogous
#856922 #6F8522 #3E8522
triadic
#6F8522 #226F85 #85226F
tetradic
#6F8522 #228569 #382285 #85223E
square
#6F8522 #228569 #382285 #85223E
split-complementary
#6F8522 #223E85 #692285
monochromatic
#1E2409 #465416 #6F8522 #98B62E #B5D24F

Accessibility & contrast

On white

4.16
#6F8522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#6F8522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8522
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8522#FFFFFF#000000##000000
##6F85221.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f8522;
/* rgb */ color: rgb(111, 133, 34);
/* oklch */ color: oklch(58.0% 0.125 121.5);
Tailwind
colors: {
  custom: {
    50: '#9ba865',
    500: '#6f8522',
    950: '#000000',
  },
}
SCSS
$custom: #6f8522;
$custom-light: #9ba865;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8522",
  "rgb": {
    "r": 111,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 73.333,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57987,
    "c": 0.12456,
    "h": 121.5
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#6F8522
secondary
#644DB6
accent
#45E268
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6F8522

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

Preview Lab → · Contrast checker → · Palette generator →

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