#6F7D1B#6F7D1B

#6F7D1B is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.0% C 0.119 H 117.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6F7D1B
RGBrgb(111, 125, 27)
HSLhsl(69, 64%, 30%)
HSVhsv(69, 78%, 49%)
CMYKcmyk(11.2%, 0%, 78.4%, 51%)
CIE-LABlab(49.65, -18.36, 47.87)
CIE-LCHlch(49.65, 51.27, 110.99°)
OKLaboklab(55.97% -0.0552 0.1053)
OKLCHoklch(55.97% 0.119 117.7)
XYZxyz(14.0873, 18.1260, 3.7932)
Luminance0.1813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7D1B #291B7D
analogous
#7D5A1B #6F7D1B #3E7D1B
triadic
#6F7D1B #1B6F7D #7D1B6F
tetradic
#6F7D1B #1B7D5A #291B7D #7D1B3E
square
#6F7D1B #1B7D5A #291B7D #7D1B3E
split-complementary
#6F7D1B #1B3E7D #5A1B7D
monochromatic
#161905 #424B10 #6F7D1B #9CAF26 #BFD53D

Accessibility & contrast

On white

4.54
#6F7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#6F7D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F7D1B
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7D1B#FFFFFF#000000##000000
##6F7D1B1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867603
Deuteranopia (green-blind)
#847724
Tritanopia (blue-blind)
#76766B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6f7d1b;
/* rgb */ color: rgb(111, 125, 27);
/* oklch */ color: oklch(56.0% 0.119 117.7);
Tailwind
colors: {
  custom: {
    50: '#9ba260',
    500: '#6f7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #6f7d1b;
$custom-light: #9ba260;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7d1b",
  "rgb": {
    "r": 111,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 68.571,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55966,
    "c": 0.11894,
    "h": 117.7
  },
  "luminance": 0.18126
}

Semantic roles & 50–950 ramp

primary
#6F7D1B
secondary
#5343B1
accent
#40E758
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6F7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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