#6F7F1A#6F7F1A

#6F7F1A is a mid, vivid yellow. Relative luminance 0.186; OKLCH L 56.5% C 0.122 H 118.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6F7F1A
RGBrgb(111, 127, 26)
HSLhsl(70, 66%, 30%)
HSVhsv(70, 80%, 50%)
CMYKcmyk(12.6%, 0%, 79.5%, 50.2%)
CIE-LABlab(50.26, -19.45, 48.77)
CIE-LCHlch(50.26, 52.50, 111.75°)
OKLaboklab(56.45% -0.0583 0.1071)
OKLCHoklch(56.45% 0.122 118.6)
XYZxyz(14.3317, 18.6330, 3.8186)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7F1A #2A1A7F
analogous
#7F5D1A #6F7F1A #3C7F1A
triadic
#6F7F1A #1A6F7F #7F1A6F
tetradic
#6F7F1A #1A7F5D #2A1A7F #7F1A3C
square
#6F7F1A #1A7F5D #2A1A7F #7F1A3C
split-complementary
#6F7F1A #1A3C7F #5D1A7F
monochromatic
#161905 #434C10 #6F7F1A #9BB224 #BFD73C

Accessibility & contrast

On white

4.44
#6F7F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#6F7F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F7F1A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7F1A#FFFFFF#000000##000000
##6F7F1A1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#76786C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6f7f1a;
/* rgb */ color: rgb(111, 127, 26);
/* oklch */ color: oklch(56.5% 0.122 118.6);
Tailwind
colors: {
  custom: {
    50: '#9ba460',
    500: '#6f7f1a',
    950: '#000000',
  },
}
SCSS
$custom: #6f7f1a;
$custom-light: #9ba460;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7f1a",
  "rgb": {
    "r": 111,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 69.505,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.56452,
    "c": 0.12191,
    "h": 118.6
  },
  "luminance": 0.18633
}

Semantic roles & 50–950 ramp

primary
#6F7F1A
secondary
#5442B3
accent
#3FE95A
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6F7F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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