#6F701F#6F701F

#6F701F is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 52.8% C 0.101 H 110.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6F701F
RGBrgb(111, 112, 31)
HSLhsl(61, 57%, 28%)
HSVhsv(61, 72%, 44%)
CMYKcmyk(0.9%, 0%, 72.3%, 56.1%)
CIE-LABlab(45.73, -11.13, 42.59)
CIE-LCHlch(45.73, 44.02, 104.65°)
OKLaboklab(52.83% -0.0348 0.0949)
OKLCHoklch(52.83% 0.101 110.1)
XYZxyz(12.5975, 15.0671, 3.5407)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F701F #201F70
analogous
#70481F #6F701F #46701F
triadic
#6F701F #1F6F70 #701F6F
tetradic
#6F701F #1F7048 #201F70 #701F46
square
#6F701F #1F7048 #201F70 #701F46
split-complementary
#6F701F #1F4670 #481F70
monochromatic
#181807 #3F4012 #6F701F #9FA02C #C8CA3F

Accessibility & contrast

On white

5.23
#6F701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6F701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F701F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F701F#FFFFFF#000000##FFFFFF
##6F701F1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B12
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#776960
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6f701f;
/* rgb */ color: rgb(111, 112, 31);
/* oklch */ color: oklch(52.8% 0.101 110.1);
Tailwind
colors: {
  custom: {
    50: '#9b9860',
    500: '#6f701f',
    950: '#000000',
  },
}
SCSS
$custom: #6f701f;
$custom-light: #9b9860;
$custom-dark: #000000;
JSON
{
  "hex": "#6f701f",
  "rgb": {
    "r": 111,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 60.741,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52829,
    "c": 0.1011,
    "h": 110.1
  },
  "luminance": 0.15067
}

Semantic roles & 50–950 ramp

primary
#6F701F
secondary
#4847A4
accent
#48E04A
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6F701F

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

Preview Lab → · Contrast checker → · Palette generator →

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