#6F8215#6F8215

#6F8215 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 57.2% C 0.128 H 119.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6F8215
RGBrgb(111, 130, 21)
HSLhsl(70, 72%, 30%)
HSVhsv(70, 84%, 51%)
CMYKcmyk(14.6%, 0%, 83.8%, 49%)
CIE-LABlab(51.15, -21.21, 51.11)
CIE-LCHlch(51.15, 55.34, 112.54°)
OKLaboklab(57.17% -0.0636 0.1111)
OKLCHoklch(57.17% 0.128 119.8)
XYZxyz(14.6739, 19.3990, 3.6807)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8215 #281582
analogous
#825F15 #6F8215 #388215
triadic
#6F8215 #156F82 #82156F
tetradic
#6F8215 #15825F #281582 #821538
square
#6F8215 #15825F #281582 #821538
split-complementary
#6F8215 #153882 #5F1582
monochromatic
#161A04 #424D0C #6F8215 #9CB71E #C0DE33

Accessibility & contrast

On white

4.30
#6F8215 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#6F8215 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8215
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8215#FFFFFF#000000##000000
##6F82151.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#897A21
Tritanopia (blue-blind)
#767B6E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6f8215;
/* rgb */ color: rgb(111, 130, 21);
/* oklch */ color: oklch(57.2% 0.128 119.8);
Tailwind
colors: {
  custom: {
    50: '#9ca65e',
    500: '#6f8215',
    950: '#000000',
  },
}
SCSS
$custom: #6f8215;
$custom-light: #9ca65e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8215",
  "rgb": {
    "r": 111,
    "g": 130,
    "b": 21
  },
  "hsl": {
    "h": 70.459,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.57166,
    "c": 0.12802,
    "h": 119.8
  },
  "luminance": 0.19399
}

Semantic roles & 50–950 ramp

primary
#6F8215
secondary
#513CB7
accent
#39EF59
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8215

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

Preview Lab → · Contrast checker → · Palette generator →

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