#748A18#748A18

#748A18 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.5% C 0.134 H 120.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#748A18
RGBrgb(116, 138, 24)
HSLhsl(72, 70%, 32%)
HSVhsv(72, 83%, 54%)
CMYKcmyk(15.9%, 0%, 82.6%, 45.9%)
CIE-LABlab(53.98, -22.96, 52.89)
CIE-LCHlch(53.98, 57.66, 113.47°)
OKLaboklab(59.55% -0.0684 0.1153)
OKLCHoklch(59.55% 0.134 120.7)
XYZxyz(16.4561, 21.9559, 4.2350)
Luminance0.2196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#748A18 #2E188A
analogous
#8A6718 #748A18 #3B8A18
triadic
#748A18 #18748A #8A1874
tetradic
#748A18 #188A67 #2E188A #8A183B
square
#748A18 #188A67 #2E188A #8A183B
split-complementary
#748A18 #183B8A #67188A
monochromatic
#1C2206 #48560F #748A18 #A0BE21 #BFDE3F

Accessibility & contrast

On white

3.90
#748A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#748A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #748A18
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##748A18#FFFFFF#000000##000000
##748A181.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#7B8275
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #748a18;
/* rgb */ color: rgb(116, 138, 24);
/* oklch */ color: oklch(59.5% 0.134 120.7);
Tailwind
colors: {
  custom: {
    50: '#9fac61',
    500: '#748a18',
    950: '#000000',
  },
}
SCSS
$custom: #748a18;
$custom-light: #9fac61;
$custom-dark: #000000;
JSON
{
  "hex": "#748a18",
  "rgb": {
    "r": 116,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 71.579,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.59547,
    "c": 0.13405,
    "h": 120.7
  },
  "luminance": 0.21956
}

Semantic roles & 50–950 ramp

primary
#748A18
secondary
#5940BD
accent
#3BED5D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #748A18

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

Preview Lab → · Contrast checker → · Palette generator →

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