#6F751F#6F751F

#6F751F is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.0% C 0.107 H 113.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6F751F
RGBrgb(111, 117, 31)
HSLhsl(64, 58%, 29%)
HSVhsv(64, 74%, 46%)
CMYKcmyk(5.1%, 0%, 73.5%, 54.1%)
CIE-LABlab(47.24, -13.88, 44.08)
CIE-LCHlch(47.24, 46.21, 107.48°)
OKLaboklab(54.04% -0.0424 0.0981)
OKLCHoklch(54.04% 0.107 113.4)
XYZxyz(13.1645, 16.2013, 3.7297)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F751F #251F75
analogous
#75501F #6F751F #44751F
triadic
#6F751F #1F6F75 #751F6F
tetradic
#6F751F #1F7550 #251F75 #751F44
square
#6F751F #1F7550 #251F75 #751F44
split-complementary
#6F751F #1F4475 #501F75
monochromatic
#171806 #414512 #6F751F #9DA52C #C3CD42

Accessibility & contrast

On white

4.95
#6F751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#6F751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F751F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F751F#FFFFFF#000000##FFFFFF
##6F751F1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F10
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#776E64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6f751f;
/* rgb */ color: rgb(111, 117, 31);
/* oklch */ color: oklch(54.0% 0.107 113.4);
Tailwind
colors: {
  custom: {
    50: '#9b9c61',
    500: '#6f751f',
    950: '#000000',
  },
}
SCSS
$custom: #6f751f;
$custom-light: #9b9c61;
$custom-dark: #000000;
JSON
{
  "hex": "#6f751f",
  "rgb": {
    "r": 111,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 64.186,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54039,
    "c": 0.10687,
    "h": 113.4
  },
  "luminance": 0.16201
}

Semantic roles & 50–950 ramp

primary
#6F751F
secondary
#4E47A9
accent
#46E151
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F751F

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

Preview Lab → · Contrast checker → · Palette generator →

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