#6F8915#6F8915

#6F8915 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.9% C 0.136 H 122.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6F8915
RGBrgb(111, 137, 21)
HSLhsl(73, 73%, 31%)
HSVhsv(73, 85%, 54%)
CMYKcmyk(19%, 0%, 84.7%, 46.3%)
CIE-LABlab(53.30, -24.75, 52.99)
CIE-LCHlch(53.30, 58.49, 115.03°)
OKLaboklab(58.9% -0.0732 0.1152)
OKLCHoklch(58.9% 0.136 122.4)
XYZxyz(15.6368, 21.3249, 4.0017)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8915 #2F1589
analogous
#896915 #6F8915 #358915
triadic
#6F8915 #156F89 #89156F
tetradic
#6F8915 #158969 #2F1589 #891535
square
#6F8915 #158969 #2F1589 #891535
split-complementary
#6F8915 #153589 #691589
monochromatic
#191F05 #44540D #6F8915 #9ABE1D #BBE038

Accessibility & contrast

On white

3.99
#6F8915 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#6F8915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8915
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8915#FFFFFF#000000##000000
##6F89151.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#758274
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6f8915;
/* rgb */ color: rgb(111, 137, 21);
/* oklch */ color: oklch(58.9% 0.136 122.4);
Tailwind
colors: {
  custom: {
    50: '#9cab5f',
    500: '#6f8915',
    950: '#000000',
  },
}
SCSS
$custom: #6f8915;
$custom-light: #9cab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8915",
  "rgb": {
    "r": 111,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 73.448,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58904,
    "c": 0.13646,
    "h": 122.4
  },
  "luminance": 0.21325
}

Semantic roles & 50–950 ramp

primary
#6F8915
secondary
#593DBD
accent
#38F061
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F1005
muted
#7E7F79

Preview Lab

Preview with #6F8915

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

Preview Lab → · Contrast checker → · Palette generator →

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