#6F7322#6F7322

#6F7322 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.6% C 0.102 H 112.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6F7322
RGBrgb(111, 115, 34)
HSLhsl(63, 54%, 29%)
HSVhsv(63, 70%, 45%)
CMYKcmyk(3.5%, 0%, 70.4%, 54.9%)
CIE-LABlab(46.65, -12.61, 42.26)
CIE-LCHlch(46.65, 44.10, 106.61°)
OKLaboklab(53.58% -0.0386 0.0948)
OKLCHoklch(53.58% 0.102 112.1)
XYZxyz(12.9754, 15.7568, 3.8709)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7322 #262273
analogous
#734F22 #6F7322 #477322
triadic
#6F7322 #226F73 #73226F
tetradic
#6F7322 #22734F #262273 #732247
square
#6F7322 #22734F #262273 #732247
split-complementary
#6F7322 #224773 #4F2273
monochromatic
#171807 #414414 #6F7322 #9DA230 #C2C947

Accessibility & contrast

On white

5.06
#6F7322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6F7322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7322
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7322#FFFFFF#000000##FFFFFF
##6F73221.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E16
Deuteranopia (green-blind)
#7C7028
Tritanopia (blue-blind)
#776C63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6f7322;
/* rgb */ color: rgb(111, 115, 34);
/* oklch */ color: oklch(53.6% 0.102 112.1);
Tailwind
colors: {
  custom: {
    50: '#9b9b62',
    500: '#6f7322',
    950: '#000000',
  },
}
SCSS
$custom: #6f7322;
$custom-light: #9b9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7322",
  "rgb": {
    "r": 111,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 62.963,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53578,
    "c": 0.10234,
    "h": 112.1
  },
  "luminance": 0.15756
}

Semantic roles & 50–950 ramp

primary
#6F7322
secondary
#4F4BA6
accent
#4ADE51
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #6F7322

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

Preview Lab → · Contrast checker → · Palette generator →

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