#757F1B#757F1B

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

Color values

HEX#757F1B
RGBrgb(117, 127, 27)
HSLhsl(66, 65%, 30%)
HSVhsv(66, 79%, 50%)
CMYKcmyk(7.9%, 0%, 78.7%, 50.2%)
CIE-LABlab(50.73, -16.70, 49.05)
CIE-LCHlch(50.73, 51.81, 108.81°)
OKLaboklab(56.96% -0.051 0.1076)
OKLCHoklch(56.96% 0.119 115.4)
XYZxyz(15.1237, 19.0400, 3.9151)
Luminance0.1904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757F1B #251B7F
analogous
#7F571B #757F1B #437F1B
triadic
#757F1B #1B757F #7F1B75
tetradic
#757F1B #1B7F57 #251B7F #7F1B43
square
#757F1B #1B7F57 #251B7F #7F1B43
split-complementary
#757F1B #1B437F #571B7F
monochromatic
#181A06 #474D10 #757F1B #A3B126 #C7D63E

Accessibility & contrast

On white

4.37
#757F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##757F1B#FFFFFF#000000##000000
##757F1B1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897802
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#7D776C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #757f1b;
/* rgb */ color: rgb(117, 127, 27);
/* oklch */ color: oklch(57.0% 0.119 115.4);
Tailwind
colors: {
  custom: {
    50: '#a0a460',
    500: '#757f1b',
    950: '#000000',
  },
}
SCSS
$custom: #757f1b;
$custom-light: #a0a460;
$custom-dark: #000000;
JSON
{
  "hex": "#757f1b",
  "rgb": {
    "r": 117,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 66,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56958,
    "c": 0.1191,
    "h": 115.4
  },
  "luminance": 0.1904
}

Semantic roles & 50–950 ramp

primary
#757F1B
secondary
#4E43B3
accent
#40E851
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #757F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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