#6F8018#6F8018

#6F8018 is a mid, vivid yellow. Relative luminance 0.189; OKLCH L 56.7% C 0.124 H 119.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6F8018
RGBrgb(111, 128, 24)
HSLhsl(70, 68%, 30%)
HSVhsv(70, 81%, 50%)
CMYKcmyk(13.3%, 0%, 81.3%, 49.8%)
CIE-LABlab(50.55, -20.06, 49.68)
CIE-LCHlch(50.55, 53.58, 111.99°)
OKLaboklab(56.69% -0.0602 0.1086)
OKLCHoklch(56.69% 0.124 119)
XYZxyz(14.4399, 18.8839, 3.7482)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8018 #291880
analogous
#805D18 #6F8018 #3B8018
triadic
#6F8018 #186F80 #80186F
tetradic
#6F8018 #18805D #291880 #80183B
square
#6F8018 #18805D #291880 #80183B
split-complementary
#6F8018 #183B80 #5D1880
monochromatic
#161A05 #424C0E #6F8018 #9CB422 #BFDA39

Accessibility & contrast

On white

4.40
#6F8018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#6F8018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8018
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8018#FFFFFF#000000##000000
##6F80181.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#76796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6f8018;
/* rgb */ color: rgb(111, 128, 24);
/* oklch */ color: oklch(56.7% 0.124 119.0);
Tailwind
colors: {
  custom: {
    50: '#9ca45f',
    500: '#6f8018',
    950: '#000000',
  },
}
SCSS
$custom: #6f8018;
$custom-light: #9ca45f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8018",
  "rgb": {
    "r": 111,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 69.808,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56687,
    "c": 0.12419,
    "h": 119
  },
  "luminance": 0.18884
}

Semantic roles & 50–950 ramp

primary
#6F8018
secondary
#5340B4
accent
#3DEB59
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8018

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

Preview Lab → · Contrast checker → · Palette generator →

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