#6F7F12#6F7F12

#6F7F12 is a mid, vivid yellow. Relative luminance 0.186; OKLCH L 56.4% C 0.126 H 118.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6F7F12
RGBrgb(111, 127, 18)
HSLhsl(69, 75%, 28%)
HSVhsv(69, 86%, 50%)
CMYKcmyk(12.6%, 0%, 85.8%, 50.2%)
CIE-LABlab(50.22, -19.78, 51.12)
CIE-LCHlch(50.22, 54.81, 111.15°)
OKLaboklab(56.41% -0.0598 0.1106)
OKLCHoklch(56.41% 0.126 118.4)
XYZxyz(14.2544, 18.6021, 3.4118)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7F12 #22127F
analogous
#7F5812 #6F7F12 #387F12
triadic
#6F7F12 #126F7F #7F126F
tetradic
#6F7F12 #127F58 #22127F #7F1238
square
#6F7F12 #127F58 #22127F #7F1238
split-complementary
#6F7F12 #12387F #58127F
monochromatic
#171B04 #40490A #6F7F12 #9EB51A #C6E12B

Accessibility & contrast

On white

4.45
#6F7F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#6F7F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F7F12
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7F12#FFFFFF#000000##000000
##6F7F121.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#86781E
Tritanopia (blue-blind)
#76776C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6f7f12;
/* rgb */ color: rgb(111, 127, 18);
/* oklch */ color: oklch(56.4% 0.126 118.4);
Tailwind
colors: {
  custom: {
    50: '#9ca45d',
    500: '#6f7f12',
    950: '#000000',
  },
}
SCSS
$custom: #6f7f12;
$custom-light: #9ca45d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7f12",
  "rgb": {
    "r": 111,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 68.807,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56411,
    "c": 0.12576,
    "h": 118.4
  },
  "luminance": 0.18602
}

Semantic roles & 50–950 ramp

primary
#6F7F12
secondary
#4A38B5
accent
#36F252
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F7F12

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

Preview Lab → · Contrast checker → · Palette generator →

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