#51630F#51630F

#51630F is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.8% C 0.106 H 121.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#51630F
RGBrgb(81, 99, 15)
HSLhsl(73, 74%, 22%)
HSVhsv(73, 85%, 39%)
CMYKcmyk(18.2%, 0%, 84.8%, 61.2%)
CIE-LABlab(39.08, -18.84, 41.33)
CIE-LCHlch(39.08, 45.43, 114.50°)
OKLaboklab(46.85% -0.0558 0.0903)
OKLCHoklch(46.85% 0.106 121.7)
XYZxyz(7.9415, 10.7075, 2.1002)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51630F #210F63
analogous
#634B0F #51630F #27630F
triadic
#51630F #0F5163 #630F51
tetradic
#51630F #0F634B #210F63 #630F27
square
#51630F #0F634B #210F63 #630F27
split-complementary
#51630F #0F2763 #4B0F63
monochromatic
#161B04 #262E07 #51630F #7C9817 #A8CD1F

Accessibility & contrast

On white

6.68
#51630F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#51630F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51630F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51630F#FFFFFF#000000##FFFFFF
##51630F1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5C00
Deuteranopia (green-blind)
#675C18
Tritanopia (blue-blind)
#565D54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #51630f;
/* rgb */ color: rgb(81, 99, 15);
/* oklch */ color: oklch(46.8% 0.106 121.7);
Tailwind
colors: {
  custom: {
    50: '#858f56',
    500: '#51630f',
    950: '#000000',
  },
}
SCSS
$custom: #51630f;
$custom-light: #858f56;
$custom-dark: #000000;
JSON
{
  "hex": "#51630f",
  "rgb": {
    "r": 81,
    "g": 99,
    "b": 15
  },
  "hsl": {
    "h": 72.857,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46845,
    "c": 0.10615,
    "h": 121.7
  },
  "luminance": 0.10708
}

Semantic roles & 50–950 ramp

primary
#51630F
secondary
#49329C
accent
#37F05F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #51630F

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

Preview Lab → · Contrast checker → · Palette generator →

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