#6F781D#6F781D

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

Color values

HEX#6F781D
RGBrgb(111, 120, 29)
HSLhsl(66, 61%, 29%)
HSVhsv(66, 76%, 47%)
CMYKcmyk(7.5%, 0%, 75.8%, 52.9%)
CIE-LABlab(48.14, -15.61, 45.72)
CIE-LCHlch(48.14, 48.31, 108.85°)
OKLaboklab(54.75% -0.0474 0.1012)
OKLCHoklch(54.75% 0.112 115.1)
XYZxyz(13.4942, 16.9014, 3.7136)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F781D #261D78
analogous
#78541D #6F781D #42781D
triadic
#6F781D #1D6F78 #781D6F
tetradic
#6F781D #1D7854 #261D78 #781D42
square
#6F781D #1D7854 #261D78 #781D42
split-complementary
#6F781D #1D4278 #541D78
monochromatic
#171906 #414711 #6F781D #9DA929 #C2D13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F781D#FFFFFF#000000##FFFFFF
##6F781D1.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)
#81720B
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#777167
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6f781d;
/* rgb */ color: rgb(111, 120, 29);
/* oklch */ color: oklch(54.8% 0.112 115.1);
Tailwind
colors: {
  custom: {
    50: '#9b9e60',
    500: '#6f781d',
    950: '#000000',
  },
}
SCSS
$custom: #6f781d;
$custom-light: #9b9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#6f781d",
  "rgb": {
    "r": 111,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 65.934,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54754,
    "c": 0.11174,
    "h": 115.1
  },
  "luminance": 0.16901
}

Semantic roles & 50–950 ramp

primary
#6F781D
secondary
#4F45AC
accent
#44E453
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F781D

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

Preview Lab → · Contrast checker → · Palette generator →

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