#6F7918#6F7918

#6F7918 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.0% C 0.116 H 115.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6F7918
RGBrgb(111, 121, 24)
HSLhsl(66, 67%, 28%)
HSVhsv(66, 80%, 47%)
CMYKcmyk(8.3%, 0%, 80.2%, 52.5%)
CIE-LABlab(48.41, -16.38, 47.74)
CIE-LCHlch(48.41, 50.47, 108.94°)
OKLaboklab(54.97% -0.05 0.1045)
OKLCHoklch(54.97% 0.116 115.6)
XYZxyz(13.5582, 17.1204, 3.4543)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7918 #221879
analogous
#795218 #6F7918 #3E7918
triadic
#6F7918 #186F79 #79186F
tetradic
#6F7918 #187952 #221879 #79183E
square
#6F7918 #187952 #221879 #79183E
split-complementary
#6F7918 #183E79 #521879
monochromatic
#171A05 #40460E #6F7918 #9EAC22 #C6D735

Accessibility & contrast

On white

4.75
#6F7918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#6F7918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7918
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7918#FFFFFF#000000##FFFFFF
##6F79181.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#817421
Tritanopia (blue-blind)
#777267
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6f7918;
/* rgb */ color: rgb(111, 121, 24);
/* oklch */ color: oklch(55.0% 0.116 115.6);
Tailwind
colors: {
  custom: {
    50: '#9b9f5e',
    500: '#6f7918',
    950: '#000000',
  },
}
SCSS
$custom: #6f7918;
$custom-light: #9b9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7918",
  "rgb": {
    "r": 111,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 66.186,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54967,
    "c": 0.11587,
    "h": 115.6
  },
  "luminance": 0.1712
}

Semantic roles & 50–950 ramp

primary
#6F7918
secondary
#4A3FAE
accent
#3EEA50
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F7918

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

Preview Lab → · Contrast checker → · Palette generator →

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