#6B751B#6B751B

#6B751B 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#6B751B
RGBrgb(107, 117, 27)
HSLhsl(67, 63%, 28%)
HSVhsv(67, 77%, 46%)
CMYKcmyk(8.5%, 0%, 76.9%, 54.1%)
CIE-LABlab(46.88, -15.93, 45.15)
CIE-LCHlch(46.88, 47.88, 109.44°)
OKLaboklab(53.66% -0.0483 0.0997)
OKLCHoklch(53.66% 0.111 115.8)
XYZxyz(12.6229, 15.9277, 3.4461)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B751B #251B75
analogous
#75521B #6B751B #3E751B
triadic
#6B751B #1B6B75 #751B6B
tetradic
#6B751B #1B7552 #251B75 #751B3E
square
#6B751B #1B7552 #251B75 #751B3E
split-complementary
#6B751B #1B3E75 #521B75
monochromatic
#171906 #3E4310 #6B751B #98A726 #C0D139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B751B#FFFFFF#000000##FFFFFF
##6B751B1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b751b;
/* rgb */ color: rgb(107, 117, 27);
/* oklch */ color: oklch(53.7% 0.111 115.8);
Tailwind
colors: {
  custom: {
    50: '#989c5f',
    500: '#6b751b',
    950: '#000000',
  },
}
SCSS
$custom: #6b751b;
$custom-light: #989c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b751b",
  "rgb": {
    "r": 107,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 66.667,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53661,
    "c": 0.11081,
    "h": 115.8
  },
  "luminance": 0.15928
}

Semantic roles & 50–950 ramp

primary
#6B751B
secondary
#4E42A9
accent
#42E654
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B751B

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

Preview Lab → · Contrast checker → · Palette generator →

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