#748C28#748C28

#748C28 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 60.1% C 0.127 H 122.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#748C28
RGBrgb(116, 140, 40)
HSLhsl(74, 56%, 35%)
HSVhsv(74, 71%, 55%)
CMYKcmyk(17.1%, 0%, 71.4%, 45.1%)
CIE-LABlab(54.68, -23.15, 48.02)
CIE-LCHlch(54.68, 53.31, 115.73°)
OKLaboklab(60.14% -0.0676 0.1078)
OKLCHoklch(60.14% 0.127 122.1)
XYZxyz(16.9638, 22.6223, 5.4799)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#748C28 #40288C
analogous
#8C7228 #748C28 #428C28
triadic
#748C28 #28748C #8C2874
tetradic
#748C28 #288C72 #40288C #8C2842
square
#748C28 #288C72 #40288C #8C2842
split-complementary
#748C28 #28428C #72288C
monochromatic
#252D0D #4D5C1A #748C28 #9BBC36 #B5D15E

Accessibility & contrast

On white

3.80
#748C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#748C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #748C28
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##748C28#FFFFFF#000000##000000
##748C281.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948318
Deuteranopia (green-blind)
#918330
Tritanopia (blue-blind)
#7A8578
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #748c28;
/* rgb */ color: rgb(116, 140, 40);
/* oklch */ color: oklch(60.1% 0.127 122.1);
Tailwind
colors: {
  custom: {
    50: '#9fad69',
    500: '#748c28',
    950: '#000000',
  },
}
SCSS
$custom: #748c28;
$custom-light: #9fad69;
$custom-dark: #000000;
JSON
{
  "hex": "#748c28",
  "rgb": {
    "r": 116,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 74.4,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60141,
    "c": 0.12721,
    "h": 122.1
  },
  "luminance": 0.22622
}

Semantic roles & 50–950 ramp

primary
#748C28
secondary
#705AB6
accent
#49DF6D
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #748C28

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

Preview Lab → · Contrast checker → · Palette generator →

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