#6F7814#6F7814

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

Color values

HEX#6F7814
RGBrgb(111, 120, 20)
HSLhsl(65, 71%, 27%)
HSVhsv(65, 83%, 47%)
CMYKcmyk(7.5%, 0%, 83.3%, 52.9%)
CIE-LABlab(48.09, -16.02, 48.71)
CIE-LCHlch(48.09, 51.27, 108.20°)
OKLaboklab(54.7% -0.0494 0.1058)
OKLCHoklch(54.7% 0.117 115)
XYZxyz(13.3987, 16.8632, 3.2108)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7814 #1D1478
analogous
#784F14 #6F7814 #3D7814
triadic
#6F7814 #146F78 #78146F
tetradic
#6F7814 #14784F #1D1478 #78143D
square
#6F7814 #14784F #1D1478 #78143D
split-complementary
#6F7814 #143D78 #4F1478
monochromatic
#181A04 #3E440B #6F7814 #A0AC1D #CCDC2B

Accessibility & contrast

On white

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

On black

4.37
#6F7814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6F7814#FFFFFF#000000##FFFFFF
##6F78141.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#777066
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6f7814;
/* rgb */ color: rgb(111, 120, 20);
/* oklch */ color: oklch(54.7% 0.117 115.0);
Tailwind
colors: {
  custom: {
    50: '#9c9e5c',
    500: '#6f7814',
    950: '#000000',
  },
}
SCSS
$custom: #6f7814;
$custom-light: #9c9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7814",
  "rgb": {
    "r": 111,
    "g": 120,
    "b": 20
  },
  "hsl": {
    "h": 65.4,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.547,
    "c": 0.11675,
    "h": 115
  },
  "luminance": 0.16863
}

Semantic roles & 50–950 ramp

primary
#6F7814
secondary
#443AAE
accent
#3AEE4A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #6F7814

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

Preview Lab → · Contrast checker → · Palette generator →

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