#6F8318#6F8318

#6F8318 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.4% C 0.128 H 120.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6F8318
RGBrgb(111, 131, 24)
HSLhsl(71, 69%, 30%)
HSVhsv(71, 82%, 51%)
CMYKcmyk(15.3%, 0%, 81.7%, 48.6%)
CIE-LABlab(51.47, -21.61, 50.51)
CIE-LCHlch(51.47, 54.94, 113.16°)
OKLaboklab(57.43% -0.0644 0.1104)
OKLCHoklch(57.43% 0.128 120.3)
XYZxyz(14.8370, 19.6781, 3.8806)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8318 #2C1883
analogous
#836118 #6F8318 #398318
triadic
#6F8318 #186F83 #83186F
tetradic
#6F8318 #188361 #2C1883 #831839
square
#6F8318 #188361 #2C1883 #831839
split-complementary
#6F8318 #183983 #611883
monochromatic
#171C05 #434F0F #6F8318 #9BB721 #BDDB3A

Accessibility & contrast

On white

4.25
#6F8318 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#6F8318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8318
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8318#FFFFFF#000000##000000
##6F83181.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#897B23
Tritanopia (blue-blind)
#767C6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6f8318;
/* rgb */ color: rgb(111, 131, 24);
/* oklch */ color: oklch(57.4% 0.128 120.3);
Tailwind
colors: {
  custom: {
    50: '#9ca760',
    500: '#6f8318',
    950: '#000000',
  },
}
SCSS
$custom: #6f8318;
$custom-light: #9ca760;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8318",
  "rgb": {
    "r": 111,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 71.215,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57429,
    "c": 0.12781,
    "h": 120.3
  },
  "luminance": 0.19678
}

Semantic roles & 50–950 ramp

primary
#6F8318
secondary
#5640B7
accent
#3CEC5D
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8318

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

Preview Lab → · Contrast checker → · Palette generator →

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