#6A791D#6A791D

#6A791D is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.6% C 0.115 H 118.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6A791D
RGBrgb(106, 121, 29)
HSLhsl(70, 61%, 29%)
HSVhsv(70, 76%, 47%)
CMYKcmyk(12.4%, 0%, 76%, 52.5%)
CIE-LABlab(48.04, -18.41, 45.49)
CIE-LCHlch(48.04, 49.07, 112.03°)
OKLaboklab(54.58% -0.0549 0.1009)
OKLCHoklch(54.58% 0.115 118.6)
XYZxyz(13.0033, 16.8277, 3.7252)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A791D #2C1D79
analogous
#795A1D #6A791D #3C791D
triadic
#6A791D #1D6A79 #791D6A
tetradic
#6A791D #1D795A #2C1D79 #791D3C
square
#6A791D #1D795A #2C1D79 #791D3C
split-complementary
#6A791D #1D3C79 #5A1D79
monochromatic
#161906 #3F4811 #6A791D #95AA29 #B9D13F

Accessibility & contrast

On white

4.81
#6A791D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#6A791D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A791D
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A791D#FFFFFF#000000##FFFFFF
##6A791D1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720A
Deuteranopia (green-blind)
#807225
Tritanopia (blue-blind)
#717267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a791d;
/* rgb */ color: rgb(106, 121, 29);
/* oklch */ color: oklch(54.6% 0.115 118.6);
Tailwind
colors: {
  custom: {
    50: '#979f60',
    500: '#6a791d',
    950: '#000000',
  },
}
SCSS
$custom: #6a791d;
$custom-light: #979f60;
$custom-dark: #000000;
JSON
{
  "hex": "#6a791d",
  "rgb": {
    "r": 106,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 69.783,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54579,
    "c": 0.11482,
    "h": 118.6
  },
  "luminance": 0.16828
}

Semantic roles & 50–950 ramp

primary
#6A791D
secondary
#5645AD
accent
#43E45E
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A791D

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

Preview Lab → · Contrast checker → · Palette generator →

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