#757E1F#757E1F

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

Color values

HEX#757E1F
RGBrgb(117, 126, 31)
HSLhsl(66, 61%, 31%)
HSVhsv(66, 75%, 49%)
CMYKcmyk(7.1%, 0%, 75.4%, 50.6%)
CIE-LABlab(50.46, -15.98, 47.37)
CIE-LCHlch(50.46, 49.99, 108.64°)
OKLaboklab(56.74% -0.0486 0.1048)
OKLCHoklch(56.74% 0.116 114.9)
XYZxyz(15.0447, 18.8028, 4.1328)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757E1F #281F7E
analogous
#7E571F #757E1F #457E1F
triadic
#757E1F #1F757E #7E1F75
tetradic
#757E1F #1F7E57 #281F7E #7E1F45
square
#757E1F #1F7E57 #281F7E #7E1F45
split-complementary
#757E1F #1F457E #571F7E
monochromatic
#1A1C07 #474D13 #757E1F #A3AF2B #C4D146

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##757E1F#FFFFFF#000000##000000
##757E1F1.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)
#87770C
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#7D766C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #757e1f;
/* rgb */ color: rgb(117, 126, 31);
/* oklch */ color: oklch(56.7% 0.116 114.9);
Tailwind
colors: {
  custom: {
    50: '#a0a362',
    500: '#757e1f',
    950: '#000000',
  },
}
SCSS
$custom: #757e1f;
$custom-light: #a0a362;
$custom-dark: #000000;
JSON
{
  "hex": "#757e1f",
  "rgb": {
    "r": 117,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 65.684,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56742,
    "c": 0.11555,
    "h": 114.9
  },
  "luminance": 0.18803
}

Semantic roles & 50–950 ramp

primary
#757E1F
secondary
#5248B1
accent
#44E453
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #757E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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