#6F7C11#6F7C11

#6F7C11 is a mid, vivid yellow. Relative luminance 0.178; OKLCH L 55.7% C 0.123 H 117.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6F7C11
RGBrgb(111, 124, 17)
HSLhsl(67, 76%, 28%)
HSVhsv(67, 86%, 49%)
CMYKcmyk(10.5%, 0%, 86.3%, 51.4%)
CIE-LABlab(49.30, -18.24, 50.59)
CIE-LCHlch(49.30, 53.78, 109.83°)
OKLaboklab(55.67% -0.0557 0.1093)
OKLCHoklch(55.67% 0.123 117)
XYZxyz(13.8648, 17.8355, 3.2424)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7C11 #1E117C
analogous
#7C5411 #6F7C11 #397C11
triadic
#6F7C11 #116F7C #7C116F
tetradic
#6F7C11 #117C54 #1E117C #7C1139
square
#6F7C11 #117C54 #1E117C #7C1139
split-complementary
#6F7C11 #11397C #54117C
monochromatic
#181B04 #3F460A #6F7C11 #9FB218 #CBE126

Accessibility & contrast

On white

4.60
#6F7C11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#6F7C11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7C11
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7C11#FFFFFF#000000##FFFFFF
##6F7C111.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#84761D
Tritanopia (blue-blind)
#777469
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6f7c11;
/* rgb */ color: rgb(111, 124, 17);
/* oklch */ color: oklch(55.7% 0.123 117.0);
Tailwind
colors: {
  custom: {
    50: '#9ca15c',
    500: '#6f7c11',
    950: '#000000',
  },
}
SCSS
$custom: #6f7c11;
$custom-light: #9ca15c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7c11",
  "rgb": {
    "r": 111,
    "g": 124,
    "b": 17
  },
  "hsl": {
    "h": 67.29,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.55667,
    "c": 0.12267,
    "h": 117
  },
  "luminance": 0.17835
}

Semantic roles & 50–950 ramp

primary
#6F7C11
secondary
#4637B2
accent
#35F24C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0F04
muted
#7E7E79

Preview Lab

Preview with #6F7C11

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

Preview Lab → · Contrast checker → · Palette generator →

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