#6F8015#6F8015

#6F8015 is a mid, vivid yellow. Relative luminance 0.189; OKLCH L 56.7% C 0.126 H 118.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6F8015
RGBrgb(111, 128, 21)
HSLhsl(70, 72%, 29%)
HSVhsv(70, 84%, 50%)
CMYKcmyk(13.3%, 0%, 83.6%, 49.8%)
CIE-LABlab(50.54, -20.18, 50.57)
CIE-LCHlch(50.54, 54.45, 111.76°)
OKLaboklab(56.67% -0.0607 0.11)
OKLCHoklch(56.67% 0.126 118.9)
XYZxyz(14.4104, 18.8721, 3.5929)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8015 #261580
analogous
#805C15 #6F8015 #3A8015
triadic
#6F8015 #156F80 #80156F
tetradic
#6F8015 #15805C #261580 #80153A
square
#6F8015 #15805C #261580 #80153A
split-complementary
#6F8015 #153A80 #5C1580
monochromatic
#171A04 #414B0C #6F8015 #9DB51E #C2DD32

Accessibility & contrast

On white

4.40
#6F8015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#6F8015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8015
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8015#FFFFFF#000000##000000
##6F80151.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#877920
Tritanopia (blue-blind)
#76796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6f8015;
/* rgb */ color: rgb(111, 128, 21);
/* oklch */ color: oklch(56.7% 0.126 118.9);
Tailwind
colors: {
  custom: {
    50: '#9ca45e',
    500: '#6f8015',
    950: '#000000',
  },
}
SCSS
$custom: #6f8015;
$custom-light: #9ca45e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8015",
  "rgb": {
    "r": 111,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 69.533,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56672,
    "c": 0.12564,
    "h": 118.9
  },
  "luminance": 0.18872
}

Semantic roles & 50–950 ramp

primary
#6F8015
secondary
#4F3CB5
accent
#39EF56
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8015

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

Preview Lab → · Contrast checker → · Palette generator →

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