#748118#748118

#748118 is a mid, vivid yellow. Relative luminance 0.195; OKLCH L 57.3% C 0.123 H 116.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#748118
RGBrgb(116, 129, 24)
HSLhsl(67, 69%, 30%)
HSVhsv(67, 81%, 51%)
CMYKcmyk(10.1%, 0%, 81.4%, 49.4%)
CIE-LABlab(51.24, -18.34, 50.45)
CIE-LCHlch(51.24, 53.68, 109.98°)
OKLaboklab(57.34% -0.0557 0.1101)
OKLCHoklch(57.34% 0.123 116.8)
XYZxyz(15.2180, 19.4797, 3.8223)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#748118 #251881
analogous
#815A18 #748118 #3F8118
triadic
#748118 #187481 #811874
tetradic
#748118 #18815A #251881 #81183F
square
#748118 #18815A #251881 #81183F
split-complementary
#748118 #183F81 #5A1881
monochromatic
#171A05 #464D0E #748118 #A2B522 #C6DA39

Accessibility & contrast

On white

4.29
#748118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#748118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #748118
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##748118#FFFFFF#000000##000000
##7481181.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#7C796E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #748118;
/* rgb */ color: rgb(116, 129, 24);
/* oklch */ color: oklch(57.3% 0.123 116.8);
Tailwind
colors: {
  custom: {
    50: '#9fa55f',
    500: '#748118',
    950: '#000000',
  },
}
SCSS
$custom: #748118;
$custom-light: #9fa55f;
$custom-dark: #000000;
JSON
{
  "hex": "#748118",
  "rgb": {
    "r": 116,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 67.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.57342,
    "c": 0.12338,
    "h": 116.8
  },
  "luminance": 0.19479
}

Semantic roles & 50–950 ramp

primary
#748118
secondary
#4E40B5
accent
#3CEB52
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #748118

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

Preview Lab → · Contrast checker → · Palette generator →

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