#6E7A15#6E7A15

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

Color values

HEX#6E7A15
RGBrgb(110, 122, 21)
HSLhsl(67, 71%, 28%)
HSVhsv(67, 83%, 48%)
CMYKcmyk(9.8%, 0%, 82.8%, 52.2%)
CIE-LABlab(48.62, -17.50, 48.85)
CIE-LCHlch(48.62, 51.89, 109.71°)
OKLaboklab(55.11% -0.0533 0.1063)
OKLCHoklch(55.11% 0.119 116.6)
XYZxyz(13.5257, 17.2884, 3.3338)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7A15 #21157A
analogous
#7A5315 #6E7A15 #3B7A15
triadic
#6E7A15 #156E7A #7A156E
tetradic
#6E7A15 #157A53 #21157A #7A153B
square
#6E7A15 #157A53 #21157A #7A153B
split-complementary
#6E7A15 #153B7A #53157A
monochromatic
#181A04 #3F460C #6E7A15 #9DAE1E #C7DB2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E7A15#FFFFFF#000000##FFFFFF
##6E7A151.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)
#82741F
Tritanopia (blue-blind)
#757368
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6e7a15;
/* rgb */ color: rgb(110, 122, 21);
/* oklch */ color: oklch(55.1% 0.119 116.6);
Tailwind
colors: {
  custom: {
    50: '#9ba05d',
    500: '#6e7a15',
    950: '#000000',
  },
}
SCSS
$custom: #6e7a15;
$custom-light: #9ba05d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7a15",
  "rgb": {
    "r": 110,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 67.129,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55111,
    "c": 0.11895,
    "h": 116.6
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

primary
#6E7A15
secondary
#493BAF
accent
#3AED50
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E7A15

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

Preview Lab → · Contrast checker → · Palette generator →

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