#747227#747227

#747227 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.8% C 0.096 H 107.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#747227
RGBrgb(116, 114, 39)
HSLhsl(58, 50%, 30%)
HSVhsv(58, 66%, 45%)
CMYKcmyk(0%, 1.7%, 66.4%, 54.5%)
CIE-LABlab(46.84, -9.41, 40.38)
CIE-LCHlch(46.84, 41.46, 103.12°)
OKLaboklab(53.84% -0.0293 0.0915)
OKLCHoklch(53.84% 0.096 107.8)
XYZxyz(13.5864, 15.8945, 4.2713)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747227 #272974
analogous
#744C27 #747227 #4F7427
triadic
#747227 #277472 #722774
tetradic
#747227 #27744C #272974 #74274F
square
#747227 #27744C #272974 #74274F
split-complementary
#747227 #274F74 #4C2774
monochromatic
#181808 #464518 #747227 #A29F36 #C4C151

Accessibility & contrast

On white

5.03
#747227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#747227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #747227
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##747227#FFFFFF#000000##FFFFFF
##7472271.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1D
Deuteranopia (green-blind)
#7D702C
Tritanopia (blue-blind)
#7C6B62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #747227;
/* rgb */ color: rgb(116, 114, 39);
/* oklch */ color: oklch(53.8% 0.096 107.8);
Tailwind
colors: {
  custom: {
    50: '#9e9a65',
    500: '#747227',
    950: '#000000',
  },
}
SCSS
$custom: #747227;
$custom-light: #9e9a65;
$custom-dark: #000000;
JSON
{
  "hex": "#747227",
  "rgb": {
    "r": 116,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 58.442,
    "s": 49.677,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53844,
    "c": 0.09612,
    "h": 107.8
  },
  "luminance": 0.15894
}

Semantic roles & 50–950 ramp

primary
#747227
secondary
#5053A6
accent
#52D94F
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #747227

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

Preview Lab → · Contrast checker → · Palette generator →

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