#6E7F15#6E7F15

#6E7F15 is a mid, vivid yellow. Relative luminance 0.185; OKLCH L 56.3% C 0.125 H 119.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6E7F15
RGBrgb(110, 127, 21)
HSLhsl(70, 72%, 29%)
HSVhsv(70, 83%, 50%)
CMYKcmyk(13.4%, 0%, 83.5%, 50.2%)
CIE-LABlab(50.15, -20.11, 50.20)
CIE-LCHlch(50.15, 54.08, 111.83°)
OKLaboklab(56.34% -0.0605 0.1092)
OKLCHoklch(56.34% 0.125 119)
XYZxyz(14.1555, 18.5480, 3.5437)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7F15 #26157F
analogous
#7F5B15 #6E7F15 #397F15
triadic
#6E7F15 #156E7F #7F156E
tetradic
#6E7F15 #157F5B #26157F #7F1539
square
#6E7F15 #157F5B #26157F #7F1539
split-complementary
#6E7F15 #15397F #5B157F
monochromatic
#171A04 #414A0C #6E7F15 #9BB41E #C1DD31

Accessibility & contrast

On white

4.46
#6E7F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#6E7F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E7F15
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7F15#FFFFFF#000000##000000
##6E7F151.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#867820
Tritanopia (blue-blind)
#75786C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6e7f15;
/* rgb */ color: rgb(110, 127, 21);
/* oklch */ color: oklch(56.3% 0.125 119.0);
Tailwind
colors: {
  custom: {
    50: '#9ba45e',
    500: '#6e7f15',
    950: '#000000',
  },
}
SCSS
$custom: #6e7f15;
$custom-light: #9ba45e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7f15",
  "rgb": {
    "r": 110,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 69.623,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.56344,
    "c": 0.12487,
    "h": 119
  },
  "luminance": 0.18548
}

Semantic roles & 50–950 ramp

primary
#6E7F15
secondary
#4F3CB4
accent
#39EE56
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E7F15

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

Preview Lab → · Contrast checker → · Palette generator →

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