#748217#748217

#748217 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#748217
RGBrgb(116, 130, 23)
HSLhsl(68, 70%, 30%)
HSVhsv(68, 82%, 51%)
CMYKcmyk(10.8%, 0%, 82.3%, 49%)
CIE-LABlab(51.54, -18.90, 51.02)
CIE-LCHlch(51.54, 54.41, 110.33°)
OKLaboklab(57.58% -0.0573 0.1111)
OKLCHoklch(57.58% 0.125 117.3)
XYZxyz(15.3401, 19.7403, 3.8126)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#748217 #251782
analogous
#825A17 #748217 #3F8217
triadic
#748217 #177482 #821774
tetradic
#748217 #17825A #251782 #82173F
square
#748217 #17825A #251782 #82173F
split-complementary
#748217 #173F82 #5A1782
monochromatic
#171A05 #464E0E #748217 #A2B620 #C6DC38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##748217#FFFFFF#000000##000000
##7482171.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: #748217;
/* rgb */ color: rgb(116, 130, 23);
/* oklch */ color: oklch(57.6% 0.125 117.3);
Tailwind
colors: {
  custom: {
    50: '#9fa65f',
    500: '#748217',
    950: '#000000',
  },
}
SCSS
$custom: #748217;
$custom-light: #9fa65f;
$custom-dark: #000000;
JSON
{
  "hex": "#748217",
  "rgb": {
    "r": 116,
    "g": 130,
    "b": 23
  },
  "hsl": {
    "h": 67.85,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.57581,
    "c": 0.12504,
    "h": 117.3
  },
  "luminance": 0.1974
}

Semantic roles & 50–950 ramp

primary
#748217
secondary
#4E3EB6
accent
#3BED52
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #748217

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

Preview Lab → · Contrast checker → · Palette generator →

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