#51680F#51680F

#51680F is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.2% C 0.113 H 124.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#51680F
RGBrgb(81, 104, 15)
HSLhsl(76, 75%, 23%)
HSVhsv(76, 86%, 41%)
CMYKcmyk(22.1%, 0%, 85.6%, 59.2%)
CIE-LABlab(40.71, -21.46, 42.79)
CIE-LCHlch(40.71, 47.87, 116.64°)
OKLaboklab(48.16% -0.0629 0.0934)
OKLCHoklch(48.16% 0.113 124)
XYZxyz(8.4300, 11.6844, 2.2630)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51680F #260F68
analogous
#68520F #51680F #24680F
triadic
#51680F #0F5168 #680F51
tetradic
#51680F #0F6852 #260F68 #680F24
square
#51680F #0F6852 #260F68 #680F24
split-complementary
#51680F #0F2468 #520F68
monochromatic
#151B04 #273307 #51680F #7B9D17 #A4D31E

Accessibility & contrast

On white

6.29
#51680F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#51680F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51680F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51680F#FFFFFF#000000##FFFFFF
##51680F1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#6B6019
Tritanopia (blue-blind)
#556258
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #51680f;
/* rgb */ color: rgb(81, 104, 15);
/* oklch */ color: oklch(48.2% 0.113 124.0);
Tailwind
colors: {
  custom: {
    50: '#859357',
    500: '#51680f',
    950: '#000000',
  },
}
SCSS
$custom: #51680f;
$custom-light: #859357;
$custom-dark: #000000;
JSON
{
  "hex": "#51680f",
  "rgb": {
    "r": 81,
    "g": 104,
    "b": 15
  },
  "hsl": {
    "h": 75.506,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48161,
    "c": 0.11262,
    "h": 124
  },
  "luminance": 0.11684
}

Semantic roles & 50–950 ramp

primary
#51680F
secondary
#4F32A1
accent
#36F167
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D03
muted
#7C7E78

Preview Lab

Preview with #51680F

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

Preview Lab → · Contrast checker → · Palette generator →

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