#748B18#748B18

#748B18 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.8% C 0.135 H 121.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#748B18
RGBrgb(116, 139, 24)
HSLhsl(72, 71%, 32%)
HSVhsv(72, 83%, 55%)
CMYKcmyk(16.5%, 0%, 82.7%, 45.5%)
CIE-LABlab(54.29, -23.47, 53.16)
CIE-LCHlch(54.29, 58.11, 113.82°)
OKLaboklab(59.79% -0.0698 0.1159)
OKLCHoklch(59.79% 0.135 121.1)
XYZxyz(16.6003, 22.2442, 4.2830)
Luminance0.2224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#748B18 #2F188B
analogous
#8B6918 #748B18 #3B8B18
triadic
#748B18 #18748B #8B1874
tetradic
#748B18 #188B69 #2F188B #8B183B
square
#748B18 #188B69 #2F188B #8B183B
split-complementary
#748B18 #183B8B #69188B
monochromatic
#1D2306 #48570F #748B18 #A0BF21 #BEDE3F

Accessibility & contrast

On white

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

On black

5.45
#748B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #748B18
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##748B18#FFFFFF#000000##000000
##748B181.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#7B8376
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #748b18;
/* rgb */ color: rgb(116, 139, 24);
/* oklch */ color: oklch(59.8% 0.135 121.1);
Tailwind
colors: {
  custom: {
    50: '#a0ac61',
    500: '#748b18',
    950: '#000000',
  },
}
SCSS
$custom: #748b18;
$custom-light: #a0ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#748b18",
  "rgb": {
    "r": 116,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 72,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59793,
    "c": 0.13525,
    "h": 121.1
  },
  "luminance": 0.22244
}

Semantic roles & 50–950 ramp

primary
#748B18
secondary
#5A40BE
accent
#3AED5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #748B18

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

Preview Lab → · Contrast checker → · Palette generator →

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