#6E7D1B#6E7D1B

#6E7D1B is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 55.9% C 0.119 H 118.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#6E7D1B
RGBrgb(110, 125, 27)
HSLhsl(69, 64%, 30%)
HSVhsv(69, 78%, 49%)
CMYKcmyk(12%, 0%, 78.4%, 51%)
CIE-LABlab(49.57, -18.81, 47.77)
CIE-LCHlch(49.57, 51.34, 111.50°)
OKLaboklab(55.88% -0.0564 0.1052)
OKLCHoklch(55.88% 0.119 118.2)
XYZxyz(13.9622, 18.0615, 3.7874)
Luminance0.1806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7D1B #2A1B7D
analogous
#7D5B1B #6E7D1B #3D7D1B
triadic
#6E7D1B #1B6E7D #7D1B6E
tetradic
#6E7D1B #1B7D5B #2A1B7D #7D1B3D
square
#6E7D1B #1B7D5B #2A1B7D #7D1B3D
split-complementary
#6E7D1B #1B3D7D #5B1B7D
monochromatic
#161905 #424B10 #6E7D1B #9AAF26 #BED53D

Accessibility & contrast

On white

4.55
#6E7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#6E7D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E7D1B
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7D1B#FFFFFF#000000##000000
##6E7D1B1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867603
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#75766B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6e7d1b;
/* rgb */ color: rgb(110, 125, 27);
/* oklch */ color: oklch(55.9% 0.119 118.2);
Tailwind
colors: {
  custom: {
    50: '#9ba260',
    500: '#6e7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #6e7d1b;
$custom-light: #9ba260;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7d1b",
  "rgb": {
    "r": 110,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 69.184,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55884,
    "c": 0.11934,
    "h": 118.2
  },
  "luminance": 0.18061
}

Semantic roles & 50–950 ramp

primary
#6E7D1B
secondary
#5443B1
accent
#40E75A
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6E7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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