#748218#748218

#748218 is a mid, vivid yellow. Relative luminance 0.197; OKLCH L 57.6% C 0.125 H 117.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#748218
RGBrgb(116, 130, 24)
HSLhsl(68, 69%, 30%)
HSVhsv(68, 82%, 51%)
CMYKcmyk(10.8%, 0%, 81.5%, 49%)
CIE-LABlab(51.55, -18.86, 50.72)
CIE-LCHlch(51.55, 54.12, 110.40°)
OKLaboklab(57.59% -0.0572 0.1107)
OKLCHoklch(57.59% 0.125 117.3)
XYZxyz(15.3504, 19.7444, 3.8664)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#748218 #261882
analogous
#825B18 #748218 #3F8218
triadic
#748218 #187482 #821874
tetradic
#748218 #18825B #261882 #82183F
square
#748218 #18825B #261882 #82183F
split-complementary
#748218 #183F82 #5B1882
monochromatic
#181B05 #464E0E #748218 #A2B622 #C5DB3A

Accessibility & contrast

On white

4.24
#748218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#748218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #748218
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##748218#FFFFFF#000000##000000
##7482181.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#8A7B22
Tritanopia (blue-blind)
#7C7A6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #748218;
/* rgb */ color: rgb(116, 130, 24);
/* oklch */ color: oklch(57.6% 0.125 117.3);
Tailwind
colors: {
  custom: {
    50: '#9fa660',
    500: '#748218',
    950: '#000000',
  },
}
SCSS
$custom: #748218;
$custom-light: #9fa660;
$custom-dark: #000000;
JSON
{
  "hex": "#748218",
  "rgb": {
    "r": 116,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 67.925,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57586,
    "c": 0.12455,
    "h": 117.3
  },
  "luminance": 0.19744
}

Semantic roles & 50–950 ramp

primary
#748218
secondary
#4F40B6
accent
#3CEC53
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #748218

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

Preview Lab → · Contrast checker → · Palette generator →

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