#748A12#748A12

#748A12 is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.5% C 0.137 H 120.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#748A12
RGBrgb(116, 138, 18)
HSLhsl(71, 77%, 31%)
HSVhsv(71, 87%, 54%)
CMYKcmyk(15.9%, 0%, 87%, 45.9%)
CIE-LABlab(53.96, -23.18, 54.45)
CIE-LCHlch(53.96, 59.18, 113.05°)
OKLaboklab(59.52% -0.0694 0.1176)
OKLCHoklch(59.52% 0.137 120.5)
XYZxyz(16.4005, 21.9337, 3.9418)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#748A12 #28128A
analogous
#8A6412 #748A12 #388A12
triadic
#748A12 #12748A #8A1274
tetradic
#748A12 #128A64 #28128A #8A1238
square
#748A12 #128A64 #28128A #8A1238
split-complementary
#748A12 #12388A #64128A
monochromatic
#191E04 #46540B #748A12 #A2C019 #C4E432

Accessibility & contrast

On white

3.90
#748A12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#748A12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #748A12
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##748A12#FFFFFF#000000##000000
##748A121.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#918120
Tritanopia (blue-blind)
#7B8275
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #748a12;
/* rgb */ color: rgb(116, 138, 18);
/* oklch */ color: oklch(59.5% 0.137 120.5);
Tailwind
colors: {
  custom: {
    50: '#a0ac5f',
    500: '#748a12',
    950: '#000000',
  },
}
SCSS
$custom: #748a12;
$custom-light: #a0ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#748a12",
  "rgb": {
    "r": 116,
    "g": 138,
    "b": 18
  },
  "hsl": {
    "h": 71,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5952,
    "c": 0.13655,
    "h": 120.5
  },
  "luminance": 0.21934
}

Semantic roles & 50–950 ramp

primary
#748A12
secondary
#5239BF
accent
#34F357
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F1005
muted
#7F7F79

Preview Lab

Preview with #748A12

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

Preview Lab → · Contrast checker → · Palette generator →

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