#6B751A#6B751A

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

Color values

HEX#6B751A
RGBrgb(107, 117, 26)
HSLhsl(67, 64%, 28%)
HSVhsv(67, 78%, 46%)
CMYKcmyk(8.5%, 0%, 77.8%, 54.1%)
CIE-LABlab(46.87, -15.98, 45.51)
CIE-LCHlch(46.87, 48.23, 109.35°)
OKLaboklab(53.65% -0.0485 0.1003)
OKLCHoklch(53.65% 0.111 115.8)
XYZxyz(12.6115, 15.9232, 3.3862)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B751A #241A75
analogous
#75511A #6B751A #3E751A
triadic
#6B751A #1A6B75 #751A6B
tetradic
#6B751A #1A7551 #241A75 #751A3E
square
#6B751A #1A7551 #241A75 #751A3E
split-complementary
#6B751A #1A3E75 #511A75
monochromatic
#171906 #3D430F #6B751A #99A725 #C1D337

Accessibility & contrast

On white

5.02
#6B751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6B751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B751A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B751A#FFFFFF#000000##FFFFFF
##6B751A1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b751a;
/* rgb */ color: rgb(107, 117, 26);
/* oklch */ color: oklch(53.7% 0.111 115.8);
Tailwind
colors: {
  custom: {
    50: '#989c5e',
    500: '#6b751a',
    950: '#000000',
  },
}
SCSS
$custom: #6b751a;
$custom-light: #989c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b751a",
  "rgb": {
    "r": 107,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 66.593,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53654,
    "c": 0.11142,
    "h": 115.8
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#6B751A
secondary
#4D41AA
accent
#41E753
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B751A

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

Preview Lab → · Contrast checker → · Palette generator →

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