#6F781F#6F781F

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

Color values

HEX#6F781F
RGBrgb(111, 120, 31)
HSLhsl(66, 59%, 30%)
HSVhsv(66, 74%, 47%)
CMYKcmyk(7.5%, 0%, 74.2%, 52.9%)
CIE-LABlab(48.15, -15.50, 44.97)
CIE-LCHlch(48.15, 47.56, 109.02°)
OKLaboklab(54.77% -0.0469 0.1)
OKLCHoklch(54.77% 0.11 115.2)
XYZxyz(13.5197, 16.9116, 3.8481)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F781F #281F78
analogous
#78541F #6F781F #43781F
triadic
#6F781F #1F6F78 #781F6F
tetradic
#6F781F #1F7854 #281F78 #781F43
square
#6F781F #1F7854 #281F78 #781F43
split-complementary
#6F781F #1F4378 #541F78
monochromatic
#161806 #424712 #6F781F #9CA92C #C0CE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F781F#FFFFFF#000000##FFFFFF
##6F781F1.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)
#81720F
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#767167
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6f781f;
/* rgb */ color: rgb(111, 120, 31);
/* oklch */ color: oklch(54.8% 0.110 115.2);
Tailwind
colors: {
  custom: {
    50: '#9b9e61',
    500: '#6f781f',
    950: '#000000',
  },
}
SCSS
$custom: #6f781f;
$custom-light: #9b9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#6f781f",
  "rgb": {
    "r": 111,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 66.067,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54769,
    "c": 0.11043,
    "h": 115.2
  },
  "luminance": 0.16911
}

Semantic roles & 50–950 ramp

primary
#6F781F
secondary
#5147AB
accent
#46E255
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #6F781F

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

Preview Lab → · Contrast checker → · Palette generator →

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