#6D7A14#6D7A14

#6D7A14 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.0% C 0.120 H 117.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6D7A14
RGBrgb(109, 122, 20)
HSLhsl(68, 72%, 28%)
HSVhsv(68, 84%, 48%)
CMYKcmyk(10.7%, 0%, 83.6%, 52.2%)
CIE-LABlab(48.54, -17.99, 49.04)
CIE-LCHlch(48.54, 52.24, 110.15°)
OKLaboklab(55.02% -0.0547 0.1066)
OKLCHoklch(55.02% 0.12 117.2)
XYZxyz(13.3928, 17.2210, 3.2801)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7A14 #21147A
analogous
#7A5414 #6D7A14 #3A7A14
triadic
#6D7A14 #146D7A #7A146D
tetradic
#6D7A14 #147A54 #21147A #7A143A
square
#6D7A14 #147A54 #21147A #7A143A
split-complementary
#6D7A14 #143A7A #54147A
monochromatic
#171A04 #3E450B #6D7A14 #9CAF1D #C6DC2C

Accessibility & contrast

On white

4.73
#6D7A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#6D7A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7A14
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7A14#FFFFFF#000000##FFFFFF
##6D7A141.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#747368
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6d7a14;
/* rgb */ color: rgb(109, 122, 20);
/* oklch */ color: oklch(55.0% 0.120 117.2);
Tailwind
colors: {
  custom: {
    50: '#9aa05d',
    500: '#6d7a14',
    950: '#000000',
  },
}
SCSS
$custom: #6d7a14;
$custom-light: #9aa05d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7a14",
  "rgb": {
    "r": 109,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 67.647,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55021,
    "c": 0.11981,
    "h": 117.2
  },
  "luminance": 0.17221
}

Semantic roles & 50–950 ramp

primary
#6D7A14
secondary
#493AB0
accent
#39EF50
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7A14

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

Preview Lab → · Contrast checker → · Palette generator →

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