#6F7920#6F7920

#6F7920 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.0% C 0.111 H 115.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6F7920
RGBrgb(111, 121, 32)
HSLhsl(67, 58%, 30%)
HSVhsv(67, 74%, 47%)
CMYKcmyk(8.3%, 0%, 73.6%, 52.5%)
CIE-LABlab(48.46, -15.98, 44.88)
CIE-LCHlch(48.46, 47.64, 109.60°)
OKLaboklab(55.02% -0.0482 0.1)
OKLCHoklch(55.02% 0.111 115.7)
XYZxyz(13.6540, 17.1587, 3.9589)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7920 #2A2079
analogous
#795720 #6F7920 #427920
triadic
#6F7920 #206F79 #79206F
tetradic
#6F7920 #207957 #2A2079 #792042
square
#6F7920 #207957 #2A2079 #792042
split-complementary
#6F7920 #204279 #572079
monochromatic
#161806 #434913 #6F7920 #9BA92D #BFCE45

Accessibility & contrast

On white

4.74
#6F7920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6F7920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7920
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7920#FFFFFF#000000##FFFFFF
##6F79201.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827310
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#767268
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6f7920;
/* rgb */ color: rgb(111, 121, 32);
/* oklch */ color: oklch(55.0% 0.111 115.7);
Tailwind
colors: {
  custom: {
    50: '#9b9f62',
    500: '#6f7920',
    950: '#000000',
  },
}
SCSS
$custom: #6f7920;
$custom-light: #9b9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7920",
  "rgb": {
    "r": 111,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 66.742,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.5502,
    "c": 0.11096,
    "h": 115.7
  },
  "luminance": 0.17159
}

Semantic roles & 50–950 ramp

primary
#6F7920
secondary
#5449AC
accent
#46E158
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #6F7920

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

Preview Lab → · Contrast checker → · Palette generator →

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