#757E22#757E22

#757E22 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 56.8% C 0.114 H 114.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#757E22
RGBrgb(117, 126, 34)
HSLhsl(66, 58%, 31%)
HSVhsv(66, 73%, 49%)
CMYKcmyk(7.1%, 0%, 73%, 50.6%)
CIE-LABlab(50.48, -15.81, 46.24)
CIE-LCHlch(50.48, 48.87, 108.88°)
OKLaboklab(56.76% -0.0479 0.103)
OKLCHoklch(56.76% 0.114 114.9)
XYZxyz(15.0861, 18.8194, 4.3508)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757E22 #2B227E
analogous
#7E5922 #757E22 #477E22
triadic
#757E22 #22757E #7E2275
tetradic
#757E22 #227E59 #2B227E #7E2247
square
#757E22 #227E59 #2B227E #7E2247
split-complementary
#757E22 #22477E #59227E
monochromatic
#1B1E08 #484E15 #757E22 #A2AE2F #C2CF4C

Accessibility & contrast

On white

4.41
#757E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#757E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757E22
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757E22#FFFFFF#000000##000000
##757E221.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877712
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#7D766C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #757e22;
/* rgb */ color: rgb(117, 126, 34);
/* oklch */ color: oklch(56.8% 0.114 114.9);
Tailwind
colors: {
  custom: {
    50: '#a0a364',
    500: '#757e22',
    950: '#000000',
  },
}
SCSS
$custom: #757e22;
$custom-light: #a0a364;
$custom-dark: #000000;
JSON
{
  "hex": "#757e22",
  "rgb": {
    "r": 117,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 65.87,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56764,
    "c": 0.11357,
    "h": 114.9
  },
  "luminance": 0.18819
}

Semantic roles & 50–950 ramp

primary
#757E22
secondary
#554BB1
accent
#47E156
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #757E22

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

Preview Lab → · Contrast checker → · Palette generator →

#757E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva