#6B7A1D#6B7A1D

#6B7A1D is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 54.9% C 0.116 H 118.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6B7A1D
RGBrgb(107, 122, 29)
HSLhsl(70, 62%, 30%)
HSVhsv(70, 76%, 48%)
CMYKcmyk(12.3%, 0%, 76.2%, 52.2%)
CIE-LABlab(48.43, -18.48, 45.89)
CIE-LCHlch(48.43, 49.47, 111.94°)
OKLaboklab(54.91% -0.0552 0.1017)
OKLCHoklch(54.91% 0.116 118.5)
XYZxyz(13.2450, 17.1337, 3.7715)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7A1D #2C1D7A
analogous
#7A5A1D #6B7A1D #3D7A1D
triadic
#6B7A1D #1D6B7A #7A1D6B
tetradic
#6B7A1D #1D7A5A #2C1D7A #7A1D3D
square
#6B7A1D #1D7A5A #2C1D7A #7A1D3D
split-complementary
#6B7A1D #1D3D7A #5A1D7A
monochromatic
#161906 #404911 #6B7A1D #96AB29 #BAD240

Accessibility & contrast

On white

4.74
#6B7A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6B7A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7A1D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7A1D#FFFFFF#000000##FFFFFF
##6B7A1D1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730A
Deuteranopia (green-blind)
#817325
Tritanopia (blue-blind)
#727368
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6b7a1d;
/* rgb */ color: rgb(107, 122, 29);
/* oklch */ color: oklch(54.9% 0.116 118.5);
Tailwind
colors: {
  custom: {
    50: '#98a061',
    500: '#6b7a1d',
    950: '#000000',
  },
}
SCSS
$custom: #6b7a1d;
$custom-light: #98a061;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7a1d",
  "rgb": {
    "r": 107,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 69.677,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54909,
    "c": 0.11566,
    "h": 118.5
  },
  "luminance": 0.17134
}

Semantic roles & 50–950 ramp

primary
#6B7A1D
secondary
#5645AE
accent
#43E55D
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B7A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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