#748A1F#748A1F

#748A1F is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.6% C 0.130 H 120.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#748A1F
RGBrgb(116, 138, 31)
HSLhsl(72, 63%, 33%)
HSVhsv(72, 78%, 54%)
CMYKcmyk(15.9%, 0%, 77.5%, 45.9%)
CIE-LABlab(54.02, -22.65, 50.71)
CIE-LCHlch(54.02, 55.54, 114.07°)
OKLaboklab(59.59% -0.067 0.1119)
OKLCHoklch(59.59% 0.13 120.9)
XYZxyz(16.5386, 21.9889, 4.6691)
Luminance0.2199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#748A1F #351F8A
analogous
#8A6A1F #748A1F #3F8A1F
triadic
#748A1F #1F748A #8A1F74
tetradic
#748A1F #1F8A6A #351F8A #8A1F3F
square
#748A1F #1F8A6A #351F8A #8A1F3F
split-complementary
#748A1F #1F3F8A #6A1F8A
monochromatic
#202609 #4A5814 #748A1F #9EBC2A #BAD74C

Accessibility & contrast

On white

3.89
#748A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#748A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #748A1F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##748A1F#FFFFFF#000000##000000
##748A1F1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938105
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#7B8276
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #748a1f;
/* rgb */ color: rgb(116, 138, 31);
/* oklch */ color: oklch(59.6% 0.130 120.9);
Tailwind
colors: {
  custom: {
    50: '#9fac64',
    500: '#748a1f',
    950: '#000000',
  },
}
SCSS
$custom: #748a1f;
$custom-light: #9fac64;
$custom-dark: #000000;
JSON
{
  "hex": "#748a1f",
  "rgb": {
    "r": 116,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 72.336,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59586,
    "c": 0.13042,
    "h": 120.9
  },
  "luminance": 0.21989
}

Semantic roles & 50–950 ramp

primary
#748A1F
secondary
#624BBA
accent
#41E663
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #748A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#748A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva