#6F751B#6F751B

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

Color values

HEX#6F751B
RGBrgb(111, 117, 27)
HSLhsl(64, 63%, 28%)
HSVhsv(64, 77%, 46%)
CMYKcmyk(5.1%, 0%, 76.9%, 54.1%)
CIE-LABlab(47.21, -14.09, 45.58)
CIE-LCHlch(47.21, 47.71, 107.18°)
OKLaboklab(54.01% -0.0434 0.1005)
OKLCHoklch(54.01% 0.109 113.4)
XYZxyz(13.1151, 16.1815, 3.4692)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F751B #211B75
analogous
#754E1B #6F751B #42751B
triadic
#6F751B #1B6F75 #751B6F
tetradic
#6F751B #1B754E #211B75 #751B42
square
#6F751B #1B754E #211B75 #751B42
split-complementary
#6F751B #1B4275 #4E1B75
monochromatic
#181906 #404310 #6F751B #9EA726 #C7D139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F751B#FFFFFF#000000##FFFFFF
##6F751B1.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)
#7E6F08
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#776E64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6f751b;
/* rgb */ color: rgb(111, 117, 27);
/* oklch */ color: oklch(54.0% 0.109 113.4);
Tailwind
colors: {
  custom: {
    50: '#9b9c5f',
    500: '#6f751b',
    950: '#000000',
  },
}
SCSS
$custom: #6f751b;
$custom-light: #9b9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f751b",
  "rgb": {
    "r": 111,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 64,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5401,
    "c": 0.10948,
    "h": 113.4
  },
  "luminance": 0.16181
}

Semantic roles & 50–950 ramp

primary
#6F751B
secondary
#4942A9
accent
#42E64D
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F751B

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

Preview Lab → · Contrast checker → · Palette generator →

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