#6B791E#6B791E

#6B791E is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.7% C 0.114 H 118.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#6B791E
RGBrgb(107, 121, 30)
HSLhsl(69, 60%, 30%)
HSVhsv(69, 75%, 47%)
CMYKcmyk(11.6%, 0%, 75.2%, 52.5%)
CIE-LABlab(48.13, -17.90, 45.22)
CIE-LCHlch(48.13, 48.64, 111.60°)
OKLaboklab(54.67% -0.0535 0.1004)
OKLCHoklch(54.67% 0.114 118)
XYZxyz(13.1354, 16.8944, 3.7970)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B791E #2C1E79
analogous
#795A1E #6B791E #3D791E
triadic
#6B791E #1E6B79 #791E6B
tetradic
#6B791E #1E795A #2C1E79 #791E3D
square
#6B791E #1E795A #2C1E79 #791E3D
split-complementary
#6B791E #1E3D79 #5A1E79
monochromatic
#161906 #404812 #6B791E #96AA2A #BAD041

Accessibility & contrast

On white

4.80
#6B791E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#6B791E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B791E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B791E#FFFFFF#000000##FFFFFF
##6B791E1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720D
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#727267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6b791e;
/* rgb */ color: rgb(107, 121, 30);
/* oklch */ color: oklch(54.7% 0.114 118.0);
Tailwind
colors: {
  custom: {
    50: '#989f61',
    500: '#6b791e',
    950: '#000000',
  },
}
SCSS
$custom: #6b791e;
$custom-light: #989f61;
$custom-dark: #000000;
JSON
{
  "hex": "#6b791e",
  "rgb": {
    "r": 107,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 69.231,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54669,
    "c": 0.11378,
    "h": 118
  },
  "luminance": 0.16894
}

Semantic roles & 50–950 ramp

primary
#6B791E
secondary
#5646AD
accent
#44E35D
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B791E

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

Preview Lab → · Contrast checker → · Palette generator →

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