#757227#757227

#757227 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 53.9% C 0.096 H 107.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#757227
RGBrgb(117, 114, 39)
HSLhsl(58, 50%, 31%)
HSVhsv(58, 67%, 46%)
CMYKcmyk(0%, 2.6%, 66.7%, 54.1%)
CIE-LABlab(46.93, -8.95, 40.50)
CIE-LCHlch(46.93, 41.48, 102.46°)
OKLaboklab(53.94% -0.0281 0.0918)
OKLCHoklch(53.94% 0.096 107)
XYZxyz(13.7201, 15.9635, 4.2776)
Luminance0.1596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757227 #272A75
analogous
#754B27 #757227 #517527
triadic
#757227 #277572 #722775
tetradic
#757227 #27754B #272A75 #752751
square
#757227 #27754B #272A75 #752751
split-complementary
#757227 #275175 #4B2775
monochromatic
#191908 #474518 #757227 #A39F36 #C5C151

Accessibility & contrast

On white

5.01
#757227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#757227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757227
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757227#FFFFFF#000000##FFFFFF
##7572271.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1D
Deuteranopia (green-blind)
#7D712C
Tritanopia (blue-blind)
#7D6B62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #757227;
/* rgb */ color: rgb(117, 114, 39);
/* oklch */ color: oklch(53.9% 0.096 107.0);
Tailwind
colors: {
  custom: {
    50: '#9f9a65',
    500: '#757227',
    950: '#000000',
  },
}
SCSS
$custom: #757227;
$custom-light: #9f9a65;
$custom-dark: #000000;
JSON
{
  "hex": "#757227",
  "rgb": {
    "r": 117,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 57.692,
    "s": 50,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53939,
    "c": 0.09597,
    "h": 107
  },
  "luminance": 0.15963
}

Semantic roles & 50–950 ramp

primary
#757227
secondary
#5154A7
accent
#54DA4E
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #757227

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

Preview Lab → · Contrast checker → · Palette generator →

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