#6F8315#6F8315

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

Color values

HEX#6F8315
RGBrgb(111, 131, 21)
HSLhsl(71, 72%, 30%)
HSVhsv(71, 84%, 51%)
CMYKcmyk(15.3%, 0%, 84%, 48.6%)
CIE-LABlab(51.46, -21.73, 51.38)
CIE-LCHlch(51.46, 55.78, 112.92°)
OKLaboklab(57.41% -0.065 0.1117)
OKLCHoklch(57.41% 0.129 120.2)
XYZxyz(14.8075, 19.6663, 3.7252)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8315 #291583
analogous
#836015 #6F8315 #388315
triadic
#6F8315 #156F83 #83156F
tetradic
#6F8315 #158360 #291583 #831538
square
#6F8315 #158360 #291583 #831538
split-complementary
#6F8315 #153883 #601583
monochromatic
#161A04 #424E0D #6F8315 #9CB81D #BFDE34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F8315#FFFFFF#000000##000000
##6F83151.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)
#897B21
Tritanopia (blue-blind)
#767C6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6f8315;
/* rgb */ color: rgb(111, 131, 21);
/* oklch */ color: oklch(57.4% 0.129 120.2);
Tailwind
colors: {
  custom: {
    50: '#9ca75e',
    500: '#6f8315',
    950: '#000000',
  },
}
SCSS
$custom: #6f8315;
$custom-light: #9ca75e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8315",
  "rgb": {
    "r": 111,
    "g": 131,
    "b": 21
  },
  "hsl": {
    "h": 70.909,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57414,
    "c": 0.12922,
    "h": 120.2
  },
  "luminance": 0.19666
}

Semantic roles & 50–950 ramp

primary
#6F8315
secondary
#533CB8
accent
#39EF5A
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8315

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

Preview Lab → · Contrast checker → · Palette generator →

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