#748828#748828

#748828 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.2% C 0.122 H 120.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#748828
RGBrgb(116, 136, 40)
HSLhsl(73, 55%, 35%)
HSVhsv(73, 71%, 53%)
CMYKcmyk(14.7%, 0%, 70.6%, 46.7%)
CIE-LABlab(53.47, -21.12, 46.80)
CIE-LCHlch(53.47, 51.34, 114.29°)
OKLaboklab(59.16% -0.0619 0.1052)
OKLCHoklch(59.16% 0.122 120.5)
XYZxyz(16.3899, 21.4746, 5.2886)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#748828 #3C2888
analogous
#886C28 #748828 #448828
triadic
#748828 #287488 #882874
tetradic
#748828 #28886C #3C2888 #882844
square
#748828 #28886C #3C2888 #882844
split-complementary
#748828 #284488 #6C2888
monochromatic
#23290C #4C591A #748828 #9CB736 #B7CF5B

Accessibility & contrast

On white

3.97
#748828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#748828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #748828
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##748828#FFFFFF#000000##000000
##7488281.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918019
Deuteranopia (green-blind)
#8E8030
Tritanopia (blue-blind)
#7B8175
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #748828;
/* rgb */ color: rgb(116, 136, 40);
/* oklch */ color: oklch(59.2% 0.122 120.5);
Tailwind
colors: {
  custom: {
    50: '#9faa68',
    500: '#748828',
    950: '#000000',
  },
}
SCSS
$custom: #748828;
$custom-light: #9faa68;
$custom-dark: #000000;
JSON
{
  "hex": "#748828",
  "rgb": {
    "r": 116,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 72.5,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59161,
    "c": 0.12209,
    "h": 120.5
  },
  "luminance": 0.21475
}

Semantic roles & 50–950 ramp

primary
#748828
secondary
#6B58B4
accent
#4ADE69
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #748828

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

Preview Lab → · Contrast checker → · Palette generator →

#748828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva