#51671B#51671B

#51671B is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 48.0% C 0.104 H 124.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#51671B
RGBrgb(81, 103, 27)
HSLhsl(77, 58%, 25%)
HSVhsv(77, 74%, 40%)
CMYKcmyk(21.4%, 0%, 73.8%, 59.6%)
CIE-LABlab(40.46, -20.27, 38.19)
CIE-LCHlch(40.46, 43.23, 117.96°)
OKLaboklab(47.98% -0.0586 0.0859)
OKLCHoklch(47.98% 0.104 124.3)
XYZxyz(8.4415, 11.5289, 2.8173)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51671B #311B67
analogous
#67571B #51671B #2B671B
triadic
#51671B #1B5167 #671B51
tetradic
#51671B #1B6757 #311B67 #671B2B
square
#51671B #1B6757 #311B67 #671B2B
split-complementary
#51671B #1B2B67 #571B67
monochromatic
#131806 #2B370E #51671B #779728 #9DC834

Accessibility & contrast

On white

6.35
#51671B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#51671B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51671B
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51671B#FFFFFF#000000##FFFFFF
##51671B1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600F
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#556258
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #51671b;
/* rgb */ color: rgb(81, 103, 27);
/* oklch */ color: oklch(48.0% 0.104 124.3);
Tailwind
colors: {
  custom: {
    50: '#84925d',
    500: '#51671b',
    950: '#000000',
  },
}
SCSS
$custom: #51671b;
$custom-light: #84925d;
$custom-dark: #000000;
JSON
{
  "hex": "#51671b",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 77.368,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47979,
    "c": 0.10397,
    "h": 124.3
  },
  "luminance": 0.11529
}

Semantic roles & 50–950 ramp

primary
#51671B
secondary
#5C429C
accent
#46E273
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0D04
muted
#7C7D79

Preview Lab

Preview with #51671B

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

Preview Lab → · Contrast checker → · Palette generator →

#51671B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva