#748012#748012

#748012 is a mid, vivid yellow. Relative luminance 0.192; OKLCH L 57.1% C 0.125 H 116.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#748012
RGBrgb(116, 128, 18)
HSLhsl(67, 75%, 29%)
HSVhsv(67, 86%, 50%)
CMYKcmyk(9.4%, 0%, 85.9%, 49.8%)
CIE-LABlab(50.91, -18.04, 51.87)
CIE-LCHlch(50.91, 54.91, 109.18°)
OKLaboklab(57.07% -0.0553 0.112)
OKLCHoklch(57.07% 0.125 116.3)
XYZxyz(15.0312, 19.1952, 3.4854)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#748012 #1E1280
analogous
#805512 #748012 #3D8012
triadic
#748012 #127480 #801274
tetradic
#748012 #128055 #1E1280 #80123D
square
#748012 #128055 #1E1280 #80123D
split-complementary
#748012 #123D80 #551280
monochromatic
#181B04 #434A0A #748012 #A5B61A #CDE12B

Accessibility & contrast

On white

4.34
#748012 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#748012 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #748012
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##748012#FFFFFF#000000##000000
##7480121.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#897A1E
Tritanopia (blue-blind)
#7C786D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #748012;
/* rgb */ color: rgb(116, 128, 18);
/* oklch */ color: oklch(57.1% 0.125 116.3);
Tailwind
colors: {
  custom: {
    50: '#9fa45d',
    500: '#748012',
    950: '#000000',
  },
}
SCSS
$custom: #748012;
$custom-light: #9fa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#748012",
  "rgb": {
    "r": 116,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 66.545,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5707,
    "c": 0.12495,
    "h": 116.3
  },
  "luminance": 0.19195
}

Semantic roles & 50–950 ramp

primary
#748012
secondary
#4638B6
accent
#36F24A
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #748012

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

Preview Lab → · Contrast checker → · Palette generator →

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