#6B791A#6B791A

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

Color values

HEX#6B791A
RGBrgb(107, 121, 26)
HSLhsl(69, 65%, 29%)
HSVhsv(69, 79%, 47%)
CMYKcmyk(11.6%, 0%, 78.5%, 52.5%)
CIE-LABlab(48.10, -18.11, 46.66)
CIE-LCHlch(48.10, 50.05, 111.22°)
OKLaboklab(54.64% -0.0544 0.1027)
OKLCHoklch(54.64% 0.116 117.9)
XYZxyz(13.0875, 16.8753, 3.5449)
Luminance0.1688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B791A #281A79
analogous
#79581A #6B791A #3C791A
triadic
#6B791A #1A6B79 #791A6B
tetradic
#6B791A #1A7958 #281A79 #791A3C
square
#6B791A #1A7958 #281A79 #791A3C
split-complementary
#6B791A #1A3C79 #581A79
monochromatic
#161905 #3E470F #6B791A #98AB25 #BED439

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B791A#FFFFFF#000000##FFFFFF
##6B791A1.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)
#827204
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#727267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6b791a;
/* rgb */ color: rgb(107, 121, 26);
/* oklch */ color: oklch(54.6% 0.116 117.9);
Tailwind
colors: {
  custom: {
    50: '#989f5f',
    500: '#6b791a',
    950: '#000000',
  },
}
SCSS
$custom: #6b791a;
$custom-light: #989f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b791a",
  "rgb": {
    "r": 107,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 68.842,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54642,
    "c": 0.11625,
    "h": 117.9
  },
  "luminance": 0.16875
}

Semantic roles & 50–950 ramp

primary
#6B791A
secondary
#5141AD
accent
#40E859
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B791A

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

Preview Lab → · Contrast checker → · Palette generator →

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