#748018#748018

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

Color values

HEX#748018
RGBrgb(116, 128, 24)
HSLhsl(67, 68%, 30%)
HSVhsv(67, 81%, 50%)
CMYKcmyk(9.4%, 0%, 81.3%, 49.8%)
CIE-LABlab(50.94, -17.82, 50.18)
CIE-LCHlch(50.94, 53.25, 109.55°)
OKLaboklab(57.1% -0.0543 0.1095)
OKLCHoklch(57.1% 0.122 116.4)
XYZxyz(15.0869, 19.2175, 3.7786)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#748018 #241880
analogous
#805818 #748018 #408018
triadic
#748018 #187480 #801874
tetradic
#748018 #188058 #241880 #801840
square
#748018 #188058 #241880 #801840
split-complementary
#748018 #184080 #581880
monochromatic
#171A05 #454C0E #748018 #A3B422 #C7DA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##748018#FFFFFF#000000##000000
##7480181.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)
#897900
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#7C786D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #748018;
/* rgb */ color: rgb(116, 128, 24);
/* oklch */ color: oklch(57.1% 0.122 116.4);
Tailwind
colors: {
  custom: {
    50: '#9fa45f',
    500: '#748018',
    950: '#000000',
  },
}
SCSS
$custom: #748018;
$custom-light: #9fa45f;
$custom-dark: #000000;
JSON
{
  "hex": "#748018",
  "rgb": {
    "r": 116,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 66.923,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57099,
    "c": 0.12222,
    "h": 116.4
  },
  "luminance": 0.19217
}

Semantic roles & 50–950 ramp

primary
#748018
secondary
#4D40B4
accent
#3DEB51
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #748018

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

Preview Lab → · Contrast checker → · Palette generator →

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