#747822#747822

#747822 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.2% C 0.107 H 112.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#747822
RGBrgb(116, 120, 34)
HSLhsl(63, 56%, 30%)
HSVhsv(63, 72%, 47%)
CMYKcmyk(3.3%, 0%, 71.7%, 52.9%)
CIE-LABlab(48.59, -13.04, 44.34)
CIE-LCHlch(48.59, 46.22, 106.38°)
OKLaboklab(55.23% -0.0401 0.099)
OKLCHoklch(55.23% 0.107 112)
XYZxyz(14.2081, 17.2618, 4.0965)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747822 #262278
analogous
#785122 #747822 #497822
triadic
#747822 #227478 #782274
tetradic
#747822 #227851 #262278 #782249
square
#747822 #227851 #262278 #782249
split-complementary
#747822 #224978 #512278
monochromatic
#181907 #464814 #747822 #A2A830 #C5CB49

Accessibility & contrast

On white

4.72
#747822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#747822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #747822
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##747822#FFFFFF#000000##FFFFFF
##7478221.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#827428
Tritanopia (blue-blind)
#7C7067
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #747822;
/* rgb */ color: rgb(116, 120, 34);
/* oklch */ color: oklch(55.2% 0.107 112.0);
Tailwind
colors: {
  custom: {
    50: '#9f9e63',
    500: '#747822',
    950: '#000000',
  },
}
SCSS
$custom: #747822;
$custom-light: #9f9e63;
$custom-dark: #000000;
JSON
{
  "hex": "#747822",
  "rgb": {
    "r": 116,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 62.791,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55231,
    "c": 0.10682,
    "h": 112
  },
  "luminance": 0.17261
}

Semantic roles & 50–950 ramp

primary
#747822
secondary
#4F4BAB
accent
#49DF50
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #747822

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

Preview Lab → · Contrast checker → · Palette generator →

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