#6F7922#6F7922

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

Color values

HEX#6F7922
RGBrgb(111, 121, 34)
HSLhsl(67, 56%, 30%)
HSVhsv(67, 72%, 47%)
CMYKcmyk(8.3%, 0%, 71.9%, 52.5%)
CIE-LABlab(48.47, -15.86, 44.09)
CIE-LCHlch(48.47, 46.86, 109.78°)
OKLaboklab(55.04% -0.0476 0.0986)
OKLCHoklch(55.04% 0.11 115.8)
XYZxyz(13.6820, 17.1699, 4.1064)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7922 #2C2279
analogous
#795822 #6F7922 #437922
triadic
#6F7922 #226F79 #79226F
tetradic
#6F7922 #227958 #2C2279 #792243
square
#6F7922 #227958 #2C2279 #792243
split-complementary
#6F7922 #224379 #582279
monochromatic
#171907 #434915 #6F7922 #9BA92F #BDCC49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F7922#FFFFFF#000000##FFFFFF
##6F79221.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)
#827314
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#767268
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6f7922;
/* rgb */ color: rgb(111, 121, 34);
/* oklch */ color: oklch(55.0% 0.110 115.8);
Tailwind
colors: {
  custom: {
    50: '#9b9f63',
    500: '#6f7922',
    950: '#000000',
  },
}
SCSS
$custom: #6f7922;
$custom-light: #9b9f63;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7922",
  "rgb": {
    "r": 111,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 66.897,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55036,
    "c": 0.10955,
    "h": 115.8
  },
  "luminance": 0.1717
}

Semantic roles & 50–950 ramp

primary
#6F7922
secondary
#564BAC
accent
#48DF5A
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #6F7922

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

Preview Lab → · Contrast checker → · Palette generator →

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