#748D12#748D12

#748D12 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.3% C 0.140 H 121.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#748D12
RGBrgb(116, 141, 18)
HSLhsl(72, 77%, 31%)
HSVhsv(72, 87%, 55%)
CMYKcmyk(17.7%, 0%, 87.2%, 44.7%)
CIE-LABlab(54.87, -24.68, 55.23)
CIE-LCHlch(54.87, 60.49, 114.07°)
OKLaboklab(60.26% -0.0735 0.1193)
OKLCHoklch(60.26% 0.14 121.6)
XYZxyz(16.8368, 22.8064, 4.0872)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#748D12 #2B128D
analogous
#8D6812 #748D12 #368D12
triadic
#748D12 #12748D #8D1274
tetradic
#748D12 #128D68 #2B128D #8D1236
square
#748D12 #128D68 #2B128D #8D1236
split-complementary
#748D12 #12368D #68128D
monochromatic
#1B2004 #47570B #748D12 #A1C319 #C1E534

Accessibility & contrast

On white

3.78
#748D12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#748D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #748D12
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##748D12#FFFFFF#000000##000000
##748D121.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#938321
Tritanopia (blue-blind)
#7B8578
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #748d12;
/* rgb */ color: rgb(116, 141, 18);
/* oklch */ color: oklch(60.3% 0.140 121.6);
Tailwind
colors: {
  custom: {
    50: '#a0ae5f',
    500: '#748d12',
    950: '#000000',
  },
}
SCSS
$custom: #748d12;
$custom-light: #a0ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#748d12",
  "rgb": {
    "r": 116,
    "g": 141,
    "b": 18
  },
  "hsl": {
    "h": 72.195,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.6026,
    "c": 0.14009,
    "h": 121.6
  },
  "luminance": 0.22806
}

Semantic roles & 50–950 ramp

primary
#748D12
secondary
#5539C1
accent
#34F45B
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F1005
muted
#7F7F79

Preview Lab

Preview with #748D12

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

Preview Lab → · Contrast checker → · Palette generator →

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