#6E7E1C#6E7E1C

#6E7E1C is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.1% C 0.120 H 118.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6E7E1C
RGBrgb(110, 126, 28)
HSLhsl(70, 64%, 30%)
HSVhsv(70, 78%, 49%)
CMYKcmyk(12.7%, 0%, 77.8%, 50.6%)
CIE-LABlab(49.88, -19.28, 47.71)
CIE-LCHlch(49.88, 51.46, 112.01°)
OKLaboklab(56.14% -0.0576 0.1052)
OKLCHoklch(56.14% 0.12 118.7)
XYZxyz(14.1012, 18.3207, 3.8918)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7E1C #2C1C7E
analogous
#7E5D1C #6E7E1C #3D7E1C
triadic
#6E7E1C #1C6E7E #7E1C6E
tetradic
#6E7E1C #1C7E5D #2C1C7E #7E1C3D
square
#6E7E1C #1C7E5D #2C1C7E #7E1C3D
split-complementary
#6E7E1C #1C3D7E #5D1C7E
monochromatic
#171A06 #424C11 #6E7E1C #9AB027 #BCD540

Accessibility & contrast

On white

4.50
#6E7E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#6E7E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E7E1C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7E1C#FFFFFF#000000##000000
##6E7E1C1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877705
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#75776C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6e7e1c;
/* rgb */ color: rgb(110, 126, 28);
/* oklch */ color: oklch(56.1% 0.120 118.7);
Tailwind
colors: {
  custom: {
    50: '#9ba361',
    500: '#6e7e1c',
    950: '#000000',
  },
}
SCSS
$custom: #6e7e1c;
$custom-light: #9ba361;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7e1c",
  "rgb": {
    "r": 110,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 69.796,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56137,
    "c": 0.11998,
    "h": 118.7
  },
  "luminance": 0.18321
}

Semantic roles & 50–950 ramp

primary
#6E7E1C
secondary
#5644B2
accent
#41E75C
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E7E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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