#758227#758227

#758227 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.115 H 117.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#758227
RGBrgb(117, 130, 39)
HSLhsl(69, 54%, 33%)
HSVhsv(69, 70%, 51%)
CMYKcmyk(10%, 0%, 70%, 49%)
CIE-LABlab(51.72, -17.63, 45.46)
CIE-LCHlch(51.72, 48.75, 111.20°)
OKLaboklab(57.77% -0.0524 0.1022)
OKLCHoklch(57.77% 0.115 117.2)
XYZxyz(15.6853, 19.8938, 4.9327)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#758227 #342782
analogous
#826127 #758227 #488227
triadic
#758227 #277582 #822775
tetradic
#758227 #278261 #342782 #822748
square
#758227 #278261 #342782 #822748
split-complementary
#758227 #274882 #612782
monochromatic
#20240B #4B5319 #758227 #9FB135 #BCCD57

Accessibility & contrast

On white

4.22
#758227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#758227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #758227
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##758227#FFFFFF#000000##000000
##7582271.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B19
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#7C7B70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #758227;
/* rgb */ color: rgb(117, 130, 39);
/* oklch */ color: oklch(57.8% 0.115 117.2);
Tailwind
colors: {
  custom: {
    50: '#9fa667',
    500: '#758227',
    950: '#000000',
  },
}
SCSS
$custom: #758227;
$custom-light: #9fa667;
$custom-dark: #000000;
JSON
{
  "hex": "#758227",
  "rgb": {
    "r": 117,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 68.571,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57772,
    "c": 0.11486,
    "h": 117.2
  },
  "luminance": 0.19894
}

Semantic roles & 50–950 ramp

primary
#758227
secondary
#6153B1
accent
#4BDD60
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #758227

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

Preview Lab → · Contrast checker → · Palette generator →

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