#748222#748222

#748222 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.6% C 0.119 H 117.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#748222
RGBrgb(116, 130, 34)
HSLhsl(69, 59%, 32%)
HSVhsv(69, 74%, 51%)
CMYKcmyk(10.8%, 0%, 73.8%, 49%)
CIE-LABlab(51.60, -18.37, 47.31)
CIE-LCHlch(51.60, 50.76, 111.22°)
OKLaboklab(57.65% -0.0549 0.1053)
OKLCHoklch(57.65% 0.119 117.6)
XYZxyz(15.4742, 19.7939, 4.5185)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#748222 #302282
analogous
#826022 #748222 #448222
triadic
#748222 #227482 #822274
tetradic
#748222 #228260 #302282 #822244
square
#748222 #228260 #302282 #822244
split-complementary
#748222 #224482 #602282
monochromatic
#1D2109 #495115 #748222 #9FB32F #BED14E

Accessibility & contrast

On white

4.23
#748222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#748222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #748222
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##748222#FFFFFF#000000##000000
##7482221.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B11
Deuteranopia (green-blind)
#8A7B2A
Tritanopia (blue-blind)
#7B7B6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #748222;
/* rgb */ color: rgb(116, 130, 34);
/* oklch */ color: oklch(57.6% 0.119 117.6);
Tailwind
colors: {
  custom: {
    50: '#9fa664',
    500: '#748222',
    950: '#000000',
  },
}
SCSS
$custom: #748222;
$custom-light: #9fa664;
$custom-dark: #000000;
JSON
{
  "hex": "#748222",
  "rgb": {
    "r": 116,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 68.75,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5765,
    "c": 0.11875,
    "h": 117.6
  },
  "luminance": 0.19794
}

Semantic roles & 50–950 ramp

primary
#748222
secondary
#5B4CB4
accent
#46E25D
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #748222

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

Preview Lab → · Contrast checker → · Palette generator →

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