#6F7F18#6F7F18

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

Color values

HEX#6F7F18
RGBrgb(111, 127, 24)
HSLhsl(69, 68%, 30%)
HSVhsv(69, 81%, 50%)
CMYKcmyk(12.6%, 0%, 81.1%, 50.2%)
CIE-LABlab(50.24, -19.54, 49.41)
CIE-LCHlch(50.24, 53.13, 111.58°)
OKLaboklab(56.44% -0.0587 0.108)
OKLCHoklch(56.44% 0.123 118.5)
XYZxyz(14.3101, 18.6243, 3.7050)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7F18 #28187F
analogous
#7F5B18 #6F7F18 #3C7F18
triadic
#6F7F18 #186F7F #7F186F
tetradic
#6F7F18 #187F5B #28187F #7F183C
square
#6F7F18 #187F5B #28187F #7F183C
split-complementary
#6F7F18 #183C7F #5B187F
monochromatic
#161A05 #424C0E #6F7F18 #9CB222 #C0D938

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F7F18#FFFFFF#000000##000000
##6F7F181.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f7f18;
/* rgb */ color: rgb(111, 127, 24);
/* oklch */ color: oklch(56.4% 0.123 118.5);
Tailwind
colors: {
  custom: {
    50: '#9ca45f',
    500: '#6f7f18',
    950: '#000000',
  },
}
SCSS
$custom: #6f7f18;
$custom-light: #9ca45f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7f18",
  "rgb": {
    "r": 111,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 69.32,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56441,
    "c": 0.12298,
    "h": 118.5
  },
  "luminance": 0.18624
}

Semantic roles & 50–950 ramp

primary
#6F7F18
secondary
#513FB3
accent
#3DEB58
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F7F18

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

Preview Lab → · Contrast checker → · Palette generator →

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