#6F7E12#6F7E12

#6F7E12 is a mid, vivid yellow. Relative luminance 0.183; OKLCH L 56.2% C 0.125 H 118.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6F7E12
RGBrgb(111, 126, 18)
HSLhsl(68, 75%, 28%)
HSVhsv(68, 86%, 49%)
CMYKcmyk(11.9%, 0%, 85.7%, 50.6%)
CIE-LABlab(49.91, -19.26, 50.85)
CIE-LCHlch(49.91, 54.38, 110.74°)
OKLaboklab(56.16% -0.0584 0.1101)
OKLCHoklch(56.16% 0.125 118)
XYZxyz(14.1259, 18.3450, 3.3689)
Luminance0.1835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7E12 #21127E
analogous
#7E5712 #6F7E12 #397E12
triadic
#6F7E12 #126F7E #7E126F
tetradic
#6F7E12 #127E57 #21127E #7E1239
square
#6F7E12 #127E57 #21127E #7E1239
split-complementary
#6F7E12 #12397E #57127E
monochromatic
#181B04 #40480A #6F7E12 #9EB41A #C7E12A

Accessibility & contrast

On white

4.50
#6F7E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#6F7E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F7E12
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7E12#FFFFFF#000000##000000
##6F7E121.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#86771E
Tritanopia (blue-blind)
#76766B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6f7e12;
/* rgb */ color: rgb(111, 126, 18);
/* oklch */ color: oklch(56.2% 0.125 118.0);
Tailwind
colors: {
  custom: {
    50: '#9ca35d',
    500: '#6f7e12',
    950: '#000000',
  },
}
SCSS
$custom: #6f7e12;
$custom-light: #9ca35d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7e12",
  "rgb": {
    "r": 111,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 68.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.12459,
    "h": 118
  },
  "luminance": 0.18345
}

Semantic roles & 50–950 ramp

primary
#6F7E12
secondary
#4938B4
accent
#36F250
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F7E12

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

Preview Lab → · Contrast checker → · Palette generator →

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