#748227#748227

#748227 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.7% C 0.115 H 117.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#748227
RGBrgb(116, 130, 39)
HSLhsl(69, 54%, 33%)
HSVhsv(69, 70%, 51%)
CMYKcmyk(10.8%, 0%, 70%, 49%)
CIE-LABlab(51.64, -18.07, 45.35)
CIE-LCHlch(51.64, 48.82, 111.73°)
OKLaboklab(57.69% -0.0536 0.102)
OKLCHoklch(57.69% 0.115 117.7)
XYZxyz(15.5516, 19.8249, 4.9264)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#748227 #352782
analogous
#826227 #748227 #468227
triadic
#748227 #277482 #822774
tetradic
#748227 #278262 #352782 #822746
square
#748227 #278262 #352782 #822746
split-complementary
#748227 #274682 #622782
monochromatic
#20240B #4A5319 #748227 #9EB135 #BACD57

Accessibility & contrast

On white

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

On black

4.97
#748227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #748227
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##748227#FFFFFF#000000##000000
##7482271.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B19
Deuteranopia (green-blind)
#897C2E
Tritanopia (blue-blind)
#7B7B70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #748227;
/* rgb */ color: rgb(116, 130, 39);
/* oklch */ color: oklch(57.7% 0.115 117.7);
Tailwind
colors: {
  custom: {
    50: '#9fa667',
    500: '#748227',
    950: '#000000',
  },
}
SCSS
$custom: #748227;
$custom-light: #9fa667;
$custom-dark: #000000;
JSON
{
  "hex": "#748227",
  "rgb": {
    "r": 116,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 69.231,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57689,
    "c": 0.11523,
    "h": 117.7
  },
  "luminance": 0.19825
}

Semantic roles & 50–950 ramp

primary
#748227
secondary
#6253B1
accent
#4BDD61
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #748227

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

Preview Lab → · Contrast checker → · Palette generator →

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