#757B1F#757B1F

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

Color values

HEX#757B1F
RGBrgb(117, 123, 31)
HSLhsl(64, 60%, 30%)
HSVhsv(64, 75%, 48%)
CMYKcmyk(4.9%, 0%, 74.8%, 51.8%)
CIE-LABlab(49.55, -14.37, 46.50)
CIE-LCHlch(49.55, 48.67, 107.17°)
OKLaboklab(56.02% -0.0442 0.103)
OKLCHoklch(56.02% 0.112 113.2)
XYZxyz(14.6668, 18.0471, 4.0069)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757B1F #251F7B
analogous
#7B531F #757B1F #477B1F
triadic
#757B1F #1F757B #7B1F75
tetradic
#757B1F #1F7B53 #251F7B #7B1F47
square
#757B1F #1F7B53 #251F7B #7B1F47
split-complementary
#757B1F #1F477B #531F7B
monochromatic
#181906 #474A13 #757B1F #A3AC2B #C7D044

Accessibility & contrast

On white

4.56
#757B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##757B1F#FFFFFF#000000##000000
##757B1F1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85750D
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#7D7369
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #757b1f;
/* rgb */ color: rgb(117, 123, 31);
/* oklch */ color: oklch(56.0% 0.112 113.2);
Tailwind
colors: {
  custom: {
    50: '#a0a162',
    500: '#757b1f',
    950: '#000000',
  },
}
SCSS
$custom: #757b1f;
$custom-light: #a0a162;
$custom-dark: #000000;
JSON
{
  "hex": "#757b1f",
  "rgb": {
    "r": 117,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 63.913,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56018,
    "c": 0.11205,
    "h": 113.2
  },
  "luminance": 0.18047
}

Semantic roles & 50–950 ramp

primary
#757B1F
secondary
#4E48AE
accent
#45E34F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #757B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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