#6D7C1A#6D7C1A

#6D7C1A is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.5% C 0.119 H 118.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6D7C1A
RGBrgb(109, 124, 26)
HSLhsl(69, 65%, 29%)
HSVhsv(69, 79%, 49%)
CMYKcmyk(12.1%, 0%, 79%, 51.4%)
CIE-LABlab(49.18, -18.79, 47.72)
CIE-LCHlch(49.18, 51.28, 111.49°)
OKLaboklab(55.55% -0.0564 0.1049)
OKLCHoklch(55.55% 0.119 118.3)
XYZxyz(13.7011, 17.7412, 3.6797)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7C1A #291A7C
analogous
#7C5A1A #6D7C1A #3C7C1A
triadic
#6D7C1A #1A6D7C #7C1A6D
tetradic
#6D7C1A #1A7C5A #291A7C #7C1A3C
square
#6D7C1A #1A7C5A #291A7C #7C1A3C
split-complementary
#6D7C1A #1A3C7C #5A1A7C
monochromatic
#161905 #41490F #6D7C1A #99AF25 #BED63B

Accessibility & contrast

On white

4.62
#6D7C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#6D7C1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7C1A
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7C1A#FFFFFF#000000##FFFFFF
##6D7C1A1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857502
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#74756A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6d7c1a;
/* rgb */ color: rgb(109, 124, 26);
/* oklch */ color: oklch(55.5% 0.119 118.3);
Tailwind
colors: {
  custom: {
    50: '#9aa15f',
    500: '#6d7c1a',
    950: '#000000',
  },
}
SCSS
$custom: #6d7c1a;
$custom-light: #9aa15f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7c1a",
  "rgb": {
    "r": 109,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 69.184,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55549,
    "c": 0.1191,
    "h": 118.3
  },
  "luminance": 0.17741
}

Semantic roles & 50–950 ramp

primary
#6D7C1A
secondary
#5342B0
accent
#40E859
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6D7C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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