#6B751F#6B751F

#6B751F is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.7% C 0.108 H 115.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6B751F
RGBrgb(107, 117, 31)
HSLhsl(67, 58%, 29%)
HSVhsv(67, 74%, 46%)
CMYKcmyk(8.5%, 0%, 73.5%, 54.1%)
CIE-LABlab(46.91, -15.71, 43.64)
CIE-LCHlch(46.91, 46.38, 109.80°)
OKLaboklab(53.69% -0.0473 0.0973)
OKLCHoklch(53.69% 0.108 115.9)
XYZxyz(12.6723, 15.9475, 3.7067)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B751F #291F75
analogous
#75541F #6B751F #40751F
triadic
#6B751F #1F6B75 #751F6B
tetradic
#6B751F #1F7554 #291F75 #751F40
square
#6B751F #1F7554 #291F75 #751F40
split-complementary
#6B751F #1F4075 #541F75
monochromatic
#161806 #3F4512 #6B751F #97A52C #BDCD42

Accessibility & contrast

On white

5.01
#6B751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6B751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B751F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B751F#FFFFFF#000000##FFFFFF
##6B751F1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F10
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#726E64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6b751f;
/* rgb */ color: rgb(107, 117, 31);
/* oklch */ color: oklch(53.7% 0.108 115.9);
Tailwind
colors: {
  custom: {
    50: '#989c61',
    500: '#6b751f',
    950: '#000000',
  },
}
SCSS
$custom: #6b751f;
$custom-light: #989c61;
$custom-dark: #000000;
JSON
{
  "hex": "#6b751f",
  "rgb": {
    "r": 107,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 66.977,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5369,
    "c": 0.10817,
    "h": 115.9
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#6B751F
secondary
#5247A9
accent
#46E158
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B751F

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

Preview Lab → · Contrast checker → · Palette generator →

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