#51631A#51631A

#51631A is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.9% C 0.099 H 122.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#51631A
RGBrgb(81, 99, 26)
HSLhsl(75, 58%, 25%)
HSVhsv(75, 74%, 39%)
CMYKcmyk(18.2%, 0%, 73.7%, 61.2%)
CIE-LABlab(39.15, -18.22, 37.29)
CIE-LCHlch(39.15, 41.51, 116.04°)
OKLaboklab(46.92% -0.0531 0.0838)
OKLCHoklch(46.92% 0.099 122.4)
XYZxyz(8.0417, 10.7476, 2.6279)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51631A #2C1A63
analogous
#63511A #51631A #2C631A
triadic
#51631A #1A5163 #631A51
tetradic
#51631A #1A6351 #2C1A63 #631A2C
square
#51631A #1A6351 #2C1A63 #631A2C
split-complementary
#51631A #1A2C63 #511A63
monochromatic
#141806 #29330D #51631A #799327 #A0C433

Accessibility & contrast

On white

6.67
#51631A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#51631A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51631A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51631A#FFFFFF#000000##FFFFFF
##51631A1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D0E
Deuteranopia (green-blind)
#675C20
Tritanopia (blue-blind)
#555E55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #51631a;
/* rgb */ color: rgb(81, 99, 26);
/* oklch */ color: oklch(46.9% 0.099 122.4);
Tailwind
colors: {
  custom: {
    50: '#848f5c',
    500: '#51631a',
    950: '#000000',
  },
}
SCSS
$custom: #51631a;
$custom-light: #848f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#51631a",
  "rgb": {
    "r": 81,
    "g": 99,
    "b": 26
  },
  "hsl": {
    "h": 74.795,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46922,
    "c": 0.09921,
    "h": 122.4
  },
  "luminance": 0.10748
}

Semantic roles & 50–950 ramp

primary
#51631A
secondary
#564099
accent
#46E26D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #51631A

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

Preview Lab → · Contrast checker → · Palette generator →

#51631A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva