#6E740F#6E740F

#6E740F is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.6% C 0.115 H 113.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6E740F
RGBrgb(110, 116, 15)
HSLhsl(64, 77%, 26%)
HSVhsv(64, 87%, 45%)
CMYKcmyk(5.2%, 0%, 87.1%, 54.5%)
CIE-LABlab(46.76, -14.50, 48.92)
CIE-LCHlch(46.76, 51.03, 106.51°)
OKLaboklab(53.61% -0.0455 0.1054)
OKLCHoklch(53.61% 0.115 113.3)
XYZxyz(12.7625, 15.8406, 2.8371)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E740F #150F74
analogous
#74470F #6E740F #3B740F
triadic
#6E740F #0F6E74 #740F6E
tetradic
#6E740F #0F7447 #150F74 #740F3B
square
#6E740F #0F7447 #150F74 #740F3B
split-complementary
#6E740F #0F3B74 #470F74
monochromatic
#1A1B04 #3B3E08 #6E740F #A1AA16 #D5E01D

Accessibility & contrast

On white

5.04
#6E740F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6E740F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E740F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E740F#FFFFFF#000000##FFFFFF
##6E740F1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7D701A
Tritanopia (blue-blind)
#766C62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6e740f;
/* rgb */ color: rgb(110, 116, 15);
/* oklch */ color: oklch(53.6% 0.115 113.3);
Tailwind
colors: {
  custom: {
    50: '#9b9b5a',
    500: '#6e740f',
    950: '#000000',
  },
}
SCSS
$custom: #6e740f;
$custom-light: #9b9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e740f",
  "rgb": {
    "r": 110,
    "g": 116,
    "b": 15
  },
  "hsl": {
    "h": 63.564,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.53612,
    "c": 0.11479,
    "h": 113.3
  },
  "luminance": 0.1584
}

Semantic roles & 50–950 ramp

primary
#6E740F
secondary
#3A33AC
accent
#34F440
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #6E740F

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

Preview Lab → · Contrast checker → · Palette generator →

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