#6F7818#6F7818

#6F7818 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.7% C 0.115 H 115.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#6F7818
RGBrgb(111, 120, 24)
HSLhsl(66, 67%, 28%)
HSVhsv(66, 80%, 47%)
CMYKcmyk(7.5%, 0%, 80%, 52.9%)
CIE-LABlab(48.11, -15.85, 47.46)
CIE-LCHlch(48.11, 50.04, 108.47°)
OKLaboklab(54.72% -0.0486 0.1039)
OKLCHoklch(54.72% 0.115 115.1)
XYZxyz(13.4373, 16.8786, 3.4140)
Luminance0.1688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7818 #211878
analogous
#785118 #6F7818 #3F7818
triadic
#6F7818 #186F78 #78186F
tetradic
#6F7818 #187851 #211878 #78183F
square
#6F7818 #187851 #211878 #78183F
split-complementary
#6F7818 #183F78 #511878
monochromatic
#181A05 #40450E #6F7818 #9EAB22 #C7D634

Accessibility & contrast

On white

4.80
#6F7818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#6F7818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7818
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7818#FFFFFF#000000##FFFFFF
##6F78181.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#817321
Tritanopia (blue-blind)
#777166
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6f7818;
/* rgb */ color: rgb(111, 120, 24);
/* oklch */ color: oklch(54.7% 0.115 115.1);
Tailwind
colors: {
  custom: {
    50: '#9b9e5e',
    500: '#6f7818',
    950: '#000000',
  },
}
SCSS
$custom: #6f7818;
$custom-light: #9b9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7818",
  "rgb": {
    "r": 111,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 65.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54722,
    "c": 0.11471,
    "h": 115.1
  },
  "luminance": 0.16878
}

Semantic roles & 50–950 ramp

primary
#6F7818
secondary
#493FAD
accent
#3EEA4E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F7818

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

Preview Lab → · Contrast checker → · Palette generator →

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