#757B22#757B22

#757B22 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.0% C 0.110 H 113.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#757B22
RGBrgb(117, 123, 34)
HSLhsl(64, 57%, 31%)
HSVhsv(64, 72%, 48%)
CMYKcmyk(4.9%, 0%, 72.4%, 51.8%)
CIE-LABlab(49.57, -14.21, 45.35)
CIE-LCHlch(49.57, 47.52, 107.39°)
OKLaboklab(56.04% -0.0434 0.1011)
OKLCHoklch(56.04% 0.11 113.2)
XYZxyz(14.7082, 18.0636, 4.2249)
Luminance0.1806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757B22 #28227B
analogous
#7B5422 #757B22 #487B22
triadic
#757B22 #22757B #7B2275
tetradic
#757B22 #227B54 #28227B #7B2248
square
#757B22 #227B54 #28227B #7B2248
split-complementary
#757B22 #22487B #54227B
monochromatic
#1A1B07 #474B15 #757B22 #A3AB2F #C4CD4A

Accessibility & contrast

On white

4.55
#757B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#757B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757B22
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757B22#FFFFFF#000000##000000
##757B221.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#847513
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#7D7369
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #757b22;
/* rgb */ color: rgb(117, 123, 34);
/* oklch */ color: oklch(56.0% 0.110 113.2);
Tailwind
colors: {
  custom: {
    50: '#9fa163',
    500: '#757b22',
    950: '#000000',
  },
}
SCSS
$custom: #757b22;
$custom-light: #9fa163;
$custom-dark: #000000;
JSON
{
  "hex": "#757b22",
  "rgb": {
    "r": 117,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 64.045,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56041,
    "c": 0.11003,
    "h": 113.2
  },
  "luminance": 0.18063
}

Semantic roles & 50–950 ramp

primary
#757B22
secondary
#524BAE
accent
#48E052
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #757B22

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

Preview Lab → · Contrast checker → · Palette generator →

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