#748C1F#748C1F

#748C1F is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 60.1% C 0.133 H 121.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#748C1F
RGBrgb(116, 140, 31)
HSLhsl(73, 64%, 34%)
HSVhsv(73, 78%, 55%)
CMYKcmyk(17.1%, 0%, 77.9%, 45.1%)
CIE-LABlab(54.62, -23.66, 51.28)
CIE-LCHlch(54.62, 56.48, 114.76°)
OKLaboklab(60.08% -0.0698 0.1131)
OKLCHoklch(60.08% 0.133 121.7)
XYZxyz(16.8281, 22.5681, 4.7656)
Luminance0.2257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#748C1F #371F8C
analogous
#8C6D1F #748C1F #3D8C1F
triadic
#748C1F #1F748C #8C1F74
tetradic
#748C1F #1F8C6D #371F8C #8C1F3D
square
#748C1F #1F8C6D #371F8C #8C1F3D
split-complementary
#748C1F #1F3D8C #6D1F8C
monochromatic
#212809 #4A5A14 #748C1F #9EBE2A #B9D84E

Accessibility & contrast

On white

3.81
#748C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#748C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #748C1F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##748C1F#FFFFFF#000000##000000
##748C1F1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958304
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#7B8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #748c1f;
/* rgb */ color: rgb(116, 140, 31);
/* oklch */ color: oklch(60.1% 0.133 121.7);
Tailwind
colors: {
  custom: {
    50: '#9fad64',
    500: '#748c1f',
    950: '#000000',
  },
}
SCSS
$custom: #748c1f;
$custom-light: #9fad64;
$custom-dark: #000000;
JSON
{
  "hex": "#748c1f",
  "rgb": {
    "r": 116,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 73.211,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60078,
    "c": 0.13289,
    "h": 121.7
  },
  "luminance": 0.22568
}

Semantic roles & 50–950 ramp

primary
#748C1F
secondary
#654CBB
accent
#41E766
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #748C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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