#6F791E#6F791E

#6F791E is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.0% C 0.112 H 115.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6F791E
RGBrgb(111, 121, 30)
HSLhsl(67, 60%, 30%)
HSVhsv(67, 75%, 47%)
CMYKcmyk(8.3%, 0%, 75.2%, 52.5%)
CIE-LABlab(48.45, -16.09, 45.64)
CIE-LCHlch(48.45, 48.39, 109.42°)
OKLaboklab(55.01% -0.0487 0.1012)
OKLCHoklch(55.01% 0.112 115.7)
XYZxyz(13.6276, 17.1482, 3.8201)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F791E #281E79
analogous
#79551E #6F791E #42791E
triadic
#6F791E #1E6F79 #791E6F
tetradic
#6F791E #1E7955 #281E79 #791E42
square
#6F791E #1E7955 #281E79 #791E42
split-complementary
#6F791E #1E4279 #551E79
monochromatic
#161906 #424812 #6F791E #9CAA2A #C0D041

Accessibility & contrast

On white

4.74
#6F791E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6F791E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F791E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F791E#FFFFFF#000000##FFFFFF
##6F791E1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720C
Deuteranopia (green-blind)
#817425
Tritanopia (blue-blind)
#767267
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6f791e;
/* rgb */ color: rgb(111, 121, 30);
/* oklch */ color: oklch(55.0% 0.112 115.7);
Tailwind
colors: {
  custom: {
    50: '#9b9f61',
    500: '#6f791e',
    950: '#000000',
  },
}
SCSS
$custom: #6f791e;
$custom-light: #9b9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#6f791e",
  "rgb": {
    "r": 111,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 66.593,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55006,
    "c": 0.11229,
    "h": 115.7
  },
  "luminance": 0.17148
}

Semantic roles & 50–950 ramp

primary
#6F791E
secondary
#5146AD
accent
#44E356
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F791E

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

Preview Lab → · Contrast checker → · Palette generator →

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