#51691F#51691F

#51691F is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.5% C 0.104 H 125.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#51691F
RGBrgb(81, 105, 31)
HSLhsl(79, 54%, 27%)
HSVhsv(79, 70%, 41%)
CMYKcmyk(22.9%, 0%, 70.5%, 58.8%)
CIE-LABlab(41.14, -21.02, 37.15)
CIE-LCHlch(41.14, 42.68, 119.50°)
OKLaboklab(48.54% -0.0603 0.0843)
OKLCHoklch(48.54% 0.104 125.6)
XYZxyz(8.6923, 11.9513, 3.1449)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51691F #371F69
analogous
#695C1F #51691F #2C691F
triadic
#51691F #1F5169 #691F51
tetradic
#51691F #1F695C #371F69 #691F2C
square
#51691F #1F695C #371F69 #691F2C
split-complementary
#51691F #1F2C69 #5C1F69
monochromatic
#121807 #2D3A11 #51691F #75982D #99C63D

Accessibility & contrast

On white

6.19
#51691F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#51691F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51691F
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51691F#FFFFFF#000000##FFFFFF
##51691F1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6215
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#55645A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #51691f;
/* rgb */ color: rgb(81, 105, 31);
/* oklch */ color: oklch(48.5% 0.104 125.6);
Tailwind
colors: {
  custom: {
    50: '#84945f',
    500: '#51691f',
    950: '#000000',
  },
}
SCSS
$custom: #51691f;
$custom-light: #84945f;
$custom-dark: #000000;
JSON
{
  "hex": "#51691f",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 31
  },
  "hsl": {
    "h": 79.459,
    "s": 54.412,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48541,
    "c": 0.10367,
    "h": 125.6
  },
  "luminance": 0.11951
}

Semantic roles & 50–950 ramp

primary
#51691F
secondary
#63479D
accent
#4ADE7A
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #51691F

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

Preview Lab → · Contrast checker → · Palette generator →

#51691F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva