#6E7A13#6E7A13

#6E7A13 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.1% C 0.120 H 116.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6E7A13
RGBrgb(110, 122, 19)
HSLhsl(67, 73%, 28%)
HSVhsv(67, 84%, 48%)
CMYKcmyk(9.8%, 0%, 84.4%, 52.2%)
CIE-LABlab(48.61, -17.57, 49.42)
CIE-LCHlch(48.61, 52.46, 109.57°)
OKLaboklab(55.1% -0.0537 0.1072)
OKLCHoklch(55.1% 0.12 116.6)
XYZxyz(13.5079, 17.2813, 3.2400)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7A13 #1F137A
analogous
#7A5213 #6E7A13 #3B7A13
triadic
#6E7A13 #136E7A #7A136E
tetradic
#6E7A13 #137A52 #1F137A #7A133B
square
#6E7A13 #137A52 #1F137A #7A133B
split-complementary
#6E7A13 #133B7A #52137A
monochromatic
#181A04 #3E450B #6E7A13 #9EAF1B #C9DE2A

Accessibility & contrast

On white

4.71
#6E7A13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6E7A13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7A13
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7A13#FFFFFF#000000##FFFFFF
##6E7A131.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e7a13;
/* rgb */ color: rgb(110, 122, 19);
/* oklch */ color: oklch(55.1% 0.120 116.6);
Tailwind
colors: {
  custom: {
    50: '#9ba05c',
    500: '#6e7a13',
    950: '#000000',
  },
}
SCSS
$custom: #6e7a13;
$custom-light: #9ba05c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7a13",
  "rgb": {
    "r": 110,
    "g": 122,
    "b": 19
  },
  "hsl": {
    "h": 66.99,
    "s": 73.05,
    "l": 27.647
  },
  "oklch": {
    "l": 0.55101,
    "c": 0.11988,
    "h": 116.6
  },
  "luminance": 0.17281
}

Semantic roles & 50–950 ramp

primary
#6E7A13
secondary
#4739B0
accent
#38F04D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6E7A13

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

Preview Lab → · Contrast checker → · Palette generator →

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