#6D740F#6D740F

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

Color values

HEX#6D740F
RGBrgb(109, 116, 15)
HSLhsl(64, 77%, 26%)
HSVhsv(64, 87%, 45%)
CMYKcmyk(6%, 0%, 87.1%, 54.5%)
CIE-LABlab(46.68, -14.97, 48.82)
CIE-LCHlch(46.68, 51.06, 107.05°)
OKLaboklab(53.52% -0.0467 0.1052)
OKLCHoklch(53.52% 0.115 113.9)
XYZxyz(12.6387, 15.7767, 2.8313)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D740F #160F74
analogous
#74480F #6D740F #3B740F
triadic
#6D740F #0F6D74 #740F6D
tetradic
#6D740F #0F7448 #160F74 #740F3B
square
#6D740F #0F7448 #160F74 #740F3B
split-complementary
#6D740F #0F3B74 #480F74
monochromatic
#191B04 #3A3E08 #6D740F #A0AA16 #D3E01D

Accessibility & contrast

On white

5.05
#6D740F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6D740F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D740F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D740F#FFFFFF#000000##FFFFFF
##6D740F1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d740f;
/* rgb */ color: rgb(109, 116, 15);
/* oklch */ color: oklch(53.5% 0.115 113.9);
Tailwind
colors: {
  custom: {
    50: '#9a9b5a',
    500: '#6d740f',
    950: '#000000',
  },
}
SCSS
$custom: #6d740f;
$custom-light: #9a9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6d740f",
  "rgb": {
    "r": 109,
    "g": 116,
    "b": 15
  },
  "hsl": {
    "h": 64.158,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.53523,
    "c": 0.11512,
    "h": 113.9
  },
  "luminance": 0.15776
}

Semantic roles & 50–950 ramp

primary
#6D740F
secondary
#3C33AC
accent
#34F441
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6D740F

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

Preview Lab → · Contrast checker → · Palette generator →

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