#757D1F#757D1F

#757D1F is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.5% C 0.114 H 114.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#757D1F
RGBrgb(117, 125, 31)
HSLhsl(65, 60%, 31%)
HSVhsv(65, 75%, 49%)
CMYKcmyk(6.4%, 0%, 75.2%, 51%)
CIE-LABlab(50.15, -15.44, 47.08)
CIE-LCHlch(50.15, 49.55, 108.16°)
OKLaboklab(56.5% -0.0472 0.1042)
OKLCHoklch(56.5% 0.114 114.4)
XYZxyz(14.9175, 18.5484, 4.0904)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757D1F #271F7D
analogous
#7D561F #757D1F #467D1F
triadic
#757D1F #1F757D #7D1F75
tetradic
#757D1F #1F7D56 #271F7D #7D1F46
square
#757D1F #1F7D56 #271F7D #7D1F46
split-complementary
#757D1F #1F467D #561F7D
monochromatic
#191B07 #474C13 #757D1F #A3AE2B #C5D145

Accessibility & contrast

On white

4.46
#757D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#757D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757D1F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757D1F#FFFFFF#000000##000000
##757D1F1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86770D
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#7D756B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #757d1f;
/* rgb */ color: rgb(117, 125, 31);
/* oklch */ color: oklch(56.5% 0.114 114.4);
Tailwind
colors: {
  custom: {
    50: '#a0a262',
    500: '#757d1f',
    950: '#000000',
  },
}
SCSS
$custom: #757d1f;
$custom-light: #a0a262;
$custom-dark: #000000;
JSON
{
  "hex": "#757d1f",
  "rgb": {
    "r": 117,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 65.106,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.565,
    "c": 0.11438,
    "h": 114.4
  },
  "luminance": 0.18548
}

Semantic roles & 50–950 ramp

primary
#757D1F
secondary
#5148B0
accent
#44E352
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F05
muted
#7F7E7A

Preview Lab

Preview with #757D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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