#6F8312#6F8312

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

Color values

HEX#6F8312
RGBrgb(111, 131, 18)
HSLhsl(71, 76%, 29%)
HSVhsv(71, 86%, 51%)
CMYKcmyk(15.3%, 0%, 86.3%, 48.6%)
CIE-LABlab(51.45, -21.83, 52.17)
CIE-LCHlch(51.45, 56.55, 112.71°)
OKLaboklab(57.4% -0.0654 0.1129)
OKLCHoklch(57.4% 0.13 120.1)
XYZxyz(14.7813, 19.6558, 3.5874)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8312 #261283
analogous
#835F12 #6F8312 #378312
triadic
#6F8312 #126F83 #83126F
tetradic
#6F8312 #12835F #261283 #831237
square
#6F8312 #12835F #261283 #831237
split-complementary
#6F8312 #123783 #5F1283
monochromatic
#171B04 #414D0B #6F8312 #9DB919 #C2E22D

Accessibility & contrast

On white

4.26
#6F8312 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#6F8312 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8312
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8312#FFFFFF#000000##000000
##6F83121.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8A7B1F
Tritanopia (blue-blind)
#767B6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6f8312;
/* rgb */ color: rgb(111, 131, 18);
/* oklch */ color: oklch(57.4% 0.130 120.1);
Tailwind
colors: {
  custom: {
    50: '#9ca75d',
    500: '#6f8312',
    950: '#000000',
  },
}
SCSS
$custom: #6f8312;
$custom-light: #9ca75d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8312",
  "rgb": {
    "r": 111,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 70.619,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57401,
    "c": 0.13049,
    "h": 120.1
  },
  "luminance": 0.19656
}

Semantic roles & 50–950 ramp

primary
#6F8312
secondary
#4F38B8
accent
#35F257
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8312

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

Preview Lab → · Contrast checker → · Palette generator →

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