#6A781E#6A781E

#6A781E is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.3% C 0.113 H 118.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6A781E
RGBrgb(106, 120, 30)
HSLhsl(69, 60%, 29%)
HSVhsv(69, 75%, 47%)
CMYKcmyk(11.7%, 0%, 75%, 52.9%)
CIE-LABlab(47.74, -17.82, 44.82)
CIE-LCHlch(47.74, 48.23, 111.69°)
OKLaboklab(54.34% -0.0532 0.0996)
OKLCHoklch(54.34% 0.113 118.1)
XYZxyz(12.8950, 16.5910, 3.7511)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A781E #2C1E78
analogous
#78591E #6A781E #3D781E
triadic
#6A781E #1E6A78 #781E6A
tetradic
#6A781E #1E7859 #2C1E78 #781E3D
square
#6A781E #1E7859 #2C1E78 #781E3D
split-complementary
#6A781E #1E3D78 #591E78
monochromatic
#161806 #3F4712 #6A781E #95A92A #B9CF41

Accessibility & contrast

On white

4.86
#6A781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#6A781E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A781E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A781E#FFFFFF#000000##FFFFFF
##6A781E1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710D
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#717167
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6a781e;
/* rgb */ color: rgb(106, 120, 30);
/* oklch */ color: oklch(54.3% 0.113 118.1);
Tailwind
colors: {
  custom: {
    50: '#979e61',
    500: '#6a781e',
    950: '#000000',
  },
}
SCSS
$custom: #6a781e;
$custom-light: #979e61;
$custom-dark: #000000;
JSON
{
  "hex": "#6a781e",
  "rgb": {
    "r": 106,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 69.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54339,
    "c": 0.11293,
    "h": 118.1
  },
  "luminance": 0.16591
}

Semantic roles & 50–950 ramp

primary
#6A781E
secondary
#5646AC
accent
#45E35D
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A781E

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

Preview Lab → · Contrast checker → · Palette generator →

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