#757228#757228

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

Color values

HEX#757228
RGBrgb(117, 114, 40)
HSLhsl(58, 49%, 31%)
HSVhsv(58, 66%, 46%)
CMYKcmyk(0%, 2.6%, 65.8%, 54.1%)
CIE-LABlab(46.94, -8.88, 40.05)
CIE-LCHlch(46.94, 41.03, 102.50°)
OKLaboklab(53.95% -0.0278 0.091)
OKLCHoklch(53.95% 0.095 107)
XYZxyz(13.7369, 15.9702, 4.3660)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757228 #282B75
analogous
#754B28 #757228 #517528
triadic
#757228 #287572 #722875
tetradic
#757228 #28754B #282B75 #752851
square
#757228 #28754B #282B75 #752851
split-complementary
#757228 #285175 #4B2875
monochromatic
#1A1909 #474618 #757228 #A39E38 #C4C053

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##757228#FFFFFF#000000##FFFFFF
##7572281.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)
#7C6E1F
Deuteranopia (green-blind)
#7D712C
Tritanopia (blue-blind)
#7D6B63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #757228;
/* rgb */ color: rgb(117, 114, 40);
/* oklch */ color: oklch(53.9% 0.095 107.0);
Tailwind
colors: {
  custom: {
    50: '#9f9a66',
    500: '#757228',
    950: '#000000',
  },
}
SCSS
$custom: #757228;
$custom-light: #9f9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#757228",
  "rgb": {
    "r": 117,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 57.662,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53949,
    "c": 0.09512,
    "h": 107
  },
  "luminance": 0.1597
}

Semantic roles & 50–950 ramp

primary
#757228
secondary
#5255A7
accent
#55D94F
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #757228

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

Preview Lab → · Contrast checker → · Palette generator →

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