#757E1B#757E1B

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

Color values

HEX#757E1B
RGBrgb(117, 126, 27)
HSLhsl(65, 65%, 30%)
HSVhsv(65, 79%, 49%)
CMYKcmyk(7.1%, 0%, 78.6%, 50.6%)
CIE-LABlab(50.43, -16.17, 48.77)
CIE-LCHlch(50.43, 51.38, 108.35°)
OKLaboklab(56.72% -0.0495 0.107)
OKLCHoklch(56.72% 0.118 114.8)
XYZxyz(14.9952, 18.7830, 3.8723)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757E1B #241B7E
analogous
#7E561B #757E1B #437E1B
triadic
#757E1B #1B757E #7E1B75
tetradic
#757E1B #1B7E56 #241B7E #7E1B43
square
#757E1B #1B7E56 #241B7E #7E1B43
split-complementary
#757E1B #1B437E #561B7E
monochromatic
#171905 #464C10 #757E1B #A4B026 #C8D63E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##757E1B#FFFFFF#000000##000000
##757E1B1.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)
#887703
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#7D766B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #757e1b;
/* rgb */ color: rgb(117, 126, 27);
/* oklch */ color: oklch(56.7% 0.118 114.8);
Tailwind
colors: {
  custom: {
    50: '#a0a360',
    500: '#757e1b',
    950: '#000000',
  },
}
SCSS
$custom: #757e1b;
$custom-light: #a0a360;
$custom-dark: #000000;
JSON
{
  "hex": "#757e1b",
  "rgb": {
    "r": 117,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 65.455,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.56716,
    "c": 0.11794,
    "h": 114.8
  },
  "luminance": 0.18783
}

Semantic roles & 50–950 ramp

primary
#757E1B
secondary
#4D43B2
accent
#40E84F
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #757E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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