#748B28#748B28

#748B28 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.9% C 0.126 H 121.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#748B28
RGBrgb(116, 139, 40)
HSLhsl(74, 55%, 35%)
HSVhsv(74, 71%, 55%)
CMYKcmyk(16.5%, 0%, 71.2%, 45.5%)
CIE-LABlab(54.38, -22.64, 47.72)
CIE-LCHlch(54.38, 52.82, 115.39°)
OKLaboklab(59.9% -0.0662 0.1071)
OKLCHoklch(59.9% 0.126 121.7)
XYZxyz(16.8183, 22.3314, 5.4314)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#748B28 #3F288B
analogous
#8B7028 #748B28 #438B28
triadic
#748B28 #28748B #8B2874
tetradic
#748B28 #288B70 #3F288B #8B2843
square
#748B28 #288B70 #3F288B #8B2843
split-complementary
#748B28 #28438B #70288B
monochromatic
#252C0D #4C5B1A #748B28 #9CBB36 #B6D05D

Accessibility & contrast

On white

3.84
#748B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#748B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #748B28
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##748B28#FFFFFF#000000##000000
##748B281.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948318
Deuteranopia (green-blind)
#918230
Tritanopia (blue-blind)
#7A8477
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #748b28;
/* rgb */ color: rgb(116, 139, 40);
/* oklch */ color: oklch(59.9% 0.126 121.7);
Tailwind
colors: {
  custom: {
    50: '#9fad68',
    500: '#748b28',
    950: '#000000',
  },
}
SCSS
$custom: #748b28;
$custom-light: #9fad68;
$custom-dark: #000000;
JSON
{
  "hex": "#748b28",
  "rgb": {
    "r": 116,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 73.939,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59896,
    "c": 0.12593,
    "h": 121.7
  },
  "luminance": 0.22331
}

Semantic roles & 50–950 ramp

primary
#748B28
secondary
#6F59B6
accent
#49DF6C
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #748B28

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

Preview Lab → · Contrast checker → · Palette generator →

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