#6F751A#6F751A

#6F751A is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.0% C 0.110 H 113.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6F751A
RGBrgb(111, 117, 26)
HSLhsl(64, 64%, 28%)
HSVhsv(64, 78%, 46%)
CMYKcmyk(5.1%, 0%, 77.8%, 54.1%)
CIE-LABlab(47.21, -14.14, 45.94)
CIE-LCHlch(47.21, 48.07, 107.11°)
OKLaboklab(54% -0.0437 0.1011)
OKLCHoklch(54% 0.11 113.4)
XYZxyz(13.1037, 16.1770, 3.4093)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F751A #201A75
analogous
#754D1A #6F751A #41751A
triadic
#6F751A #1A6F75 #751A6F
tetradic
#6F751A #1A754D #201A75 #751A41
square
#6F751A #1A754D #201A75 #751A41
split-complementary
#6F751A #1A4175 #4D1A75
monochromatic
#181906 #3F430F #6F751A #9FA725 #C8D337

Accessibility & contrast

On white

4.96
#6F751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#6F751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F751A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F751A#FFFFFF#000000##FFFFFF
##6F751A1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F06
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#776E64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6f751a;
/* rgb */ color: rgb(111, 117, 26);
/* oklch */ color: oklch(54.0% 0.110 113.4);
Tailwind
colors: {
  custom: {
    50: '#9b9c5f',
    500: '#6f751a',
    950: '#000000',
  },
}
SCSS
$custom: #6f751a;
$custom-light: #9b9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f751a",
  "rgb": {
    "r": 111,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 63.956,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54003,
    "c": 0.11009,
    "h": 113.4
  },
  "luminance": 0.16177
}

Semantic roles & 50–950 ramp

primary
#6F751A
secondary
#4841AA
accent
#41E74C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F751A

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

Preview Lab → · Contrast checker → · Palette generator →

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