#6F781E#6F781E

#6F781E is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.8% C 0.111 H 115.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6F781E
RGBrgb(111, 120, 30)
HSLhsl(66, 60%, 29%)
HSVhsv(66, 75%, 47%)
CMYKcmyk(7.5%, 0%, 75%, 52.9%)
CIE-LABlab(48.14, -15.55, 45.35)
CIE-LCHlch(48.14, 47.94, 108.93°)
OKLaboklab(54.76% -0.0472 0.1006)
OKLCHoklch(54.76% 0.111 115.1)
XYZxyz(13.5067, 16.9064, 3.7798)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F781E #271E78
analogous
#78541E #6F781E #42781E
triadic
#6F781E #1E6F78 #781E6F
tetradic
#6F781E #1E7854 #271E78 #781E42
square
#6F781E #1E7854 #271E78 #781E42
split-complementary
#6F781E #1E4278 #541E78
monochromatic
#171806 #424712 #6F781E #9CA92A #C1CF41

Accessibility & contrast

On white

4.79
#6F781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6F781E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F781E#FFFFFF#000000##FFFFFF
##6F781E1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f781e;
/* rgb */ color: rgb(111, 120, 30);
/* oklch */ color: oklch(54.8% 0.111 115.1);
Tailwind
colors: {
  custom: {
    50: '#9b9e61',
    500: '#6f781e',
    950: '#000000',
  },
}
SCSS
$custom: #6f781e;
$custom-light: #9b9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#6f781e",
  "rgb": {
    "r": 111,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 66,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54761,
    "c": 0.1111,
    "h": 115.1
  },
  "luminance": 0.16906
}

Semantic roles & 50–950 ramp

primary
#6F781E
secondary
#5046AC
accent
#45E354
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F781E

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

Preview Lab → · Contrast checker → · Palette generator →

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