#757F1F#757F1F

#757F1F is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.0% C 0.117 H 115.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#757F1F
RGBrgb(117, 127, 31)
HSLhsl(66, 61%, 31%)
HSVhsv(66, 76%, 50%)
CMYKcmyk(7.9%, 0%, 75.6%, 50.2%)
CIE-LABlab(50.76, -16.51, 47.65)
CIE-LCHlch(50.76, 50.43, 109.11°)
OKLaboklab(56.98% -0.0501 0.1054)
OKLCHoklch(56.98% 0.117 115.4)
XYZxyz(15.1732, 19.0598, 4.1757)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757F1F #291F7F
analogous
#7F591F #757F1F #457F1F
triadic
#757F1F #1F757F #7F1F75
tetradic
#757F1F #1F7F59 #291F7F #7F1F45
square
#757F1F #1F7F59 #291F7F #7F1F45
split-complementary
#757F1F #1F457F #591F7F
monochromatic
#1A1D07 #484E13 #757F1F #A2B02B #C3D246

Accessibility & contrast

On white

4.36
#757F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#757F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757F1F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757F1F#FFFFFF#000000##000000
##757F1F1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#7D776D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #757f1f;
/* rgb */ color: rgb(117, 127, 31);
/* oklch */ color: oklch(57.0% 0.117 115.4);
Tailwind
colors: {
  custom: {
    50: '#a0a462',
    500: '#757f1f',
    950: '#000000',
  },
}
SCSS
$custom: #757f1f;
$custom-light: #a0a462;
$custom-dark: #000000;
JSON
{
  "hex": "#757f1f",
  "rgb": {
    "r": 117,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 66.25,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56984,
    "c": 0.11672,
    "h": 115.4
  },
  "luminance": 0.1906
}

Semantic roles & 50–950 ramp

primary
#757F1F
secondary
#5348B2
accent
#44E455
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #757F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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