#748B1F#748B1F

#748B1F is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.8% C 0.132 H 121.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#748B1F
RGBrgb(116, 139, 31)
HSLhsl(73, 64%, 33%)
HSVhsv(73, 78%, 55%)
CMYKcmyk(16.5%, 0%, 77.7%, 45.5%)
CIE-LABlab(54.32, -23.15, 51.00)
CIE-LCHlch(54.32, 56.01, 114.42°)
OKLaboklab(59.83% -0.0684 0.1125)
OKLCHoklch(59.83% 0.132 121.3)
XYZxyz(16.6827, 22.2772, 4.7171)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#748B1F #361F8B
analogous
#8B6C1F #748B1F #3E8B1F
triadic
#748B1F #1F748B #8B1F74
tetradic
#748B1F #1F8B6C #361F8B #8B1F3E
square
#748B1F #1F8B6C #361F8B #8B1F3E
split-complementary
#748B1F #1F3E8B #6C1F8B
monochromatic
#202709 #4A5914 #748B1F #9EBD2A #BAD74D

Accessibility & contrast

On white

3.85
#748B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#748B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #748B1F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##748B1F#FFFFFF#000000##000000
##748B1F1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948204
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#7B8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #748b1f;
/* rgb */ color: rgb(116, 139, 31);
/* oklch */ color: oklch(59.8% 0.132 121.3);
Tailwind
colors: {
  custom: {
    50: '#9fac64',
    500: '#748b1f',
    950: '#000000',
  },
}
SCSS
$custom: #748b1f;
$custom-light: #9fac64;
$custom-dark: #000000;
JSON
{
  "hex": "#748b1f",
  "rgb": {
    "r": 116,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 72.778,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59832,
    "c": 0.13166,
    "h": 121.3
  },
  "luminance": 0.22277
}

Semantic roles & 50–950 ramp

primary
#748B1F
secondary
#634CBA
accent
#41E764
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #748B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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