#757A1F#757A1F

#757A1F is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.8% C 0.111 H 112.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#757A1F
RGBrgb(117, 122, 31)
HSLhsl(63, 59%, 30%)
HSVhsv(63, 75%, 48%)
CMYKcmyk(4.1%, 0%, 74.6%, 52.2%)
CIE-LABlab(49.25, -13.83, 46.21)
CIE-LCHlch(49.25, 48.24, 106.66°)
OKLaboklab(55.78% -0.0427 0.1024)
OKLCHoklch(55.78% 0.111 112.6)
XYZxyz(14.5434, 17.8002, 3.9657)
Luminance0.1780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757A1F #241F7A
analogous
#7A521F #757A1F #477A1F
triadic
#757A1F #1F757A #7A1F75
tetradic
#757A1F #1F7A52 #241F7A #7A1F47
square
#757A1F #1F7A52 #241F7A #7A1F47
split-complementary
#757A1F #1F477A #521F7A
monochromatic
#171806 #464913 #757A1F #A4AB2B #C8CF44

Accessibility & contrast

On white

4.61
#757A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#757A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #757A1F
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757A1F#FFFFFF#000000##FFFFFF
##757A1F1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740E
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#7D7268
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #757a1f;
/* rgb */ color: rgb(117, 122, 31);
/* oklch */ color: oklch(55.8% 0.111 112.6);
Tailwind
colors: {
  custom: {
    50: '#a0a062',
    500: '#757a1f',
    950: '#000000',
  },
}
SCSS
$custom: #757a1f;
$custom-light: #a0a062;
$custom-dark: #000000;
JSON
{
  "hex": "#757a1f",
  "rgb": {
    "r": 117,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 63.297,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.55778,
    "c": 0.11091,
    "h": 112.6
  },
  "luminance": 0.178
}

Semantic roles & 50–950 ramp

primary
#757A1F
secondary
#4D47AD
accent
#45E34E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #757A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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