#757A1B#757A1B

#757A1B is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.8% C 0.113 H 112.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#757A1B
RGBrgb(117, 122, 27)
HSLhsl(63, 64%, 29%)
HSVhsv(63, 78%, 48%)
CMYKcmyk(4.1%, 0%, 77.9%, 52.2%)
CIE-LABlab(49.23, -14.03, 47.65)
CIE-LCHlch(49.23, 49.67, 106.41°)
OKLaboklab(55.75% -0.0436 0.1047)
OKLCHoklch(55.75% 0.113 112.6)
XYZxyz(14.4940, 17.7804, 3.7052)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757A1B #201B7A
analogous
#7A501B #757A1B #467A1B
triadic
#757A1B #1B757A #7A1B75
tetradic
#757A1B #1B7A50 #201B7A #7A1B46
square
#757A1B #1B7A50 #201B7A #7A1B46
split-complementary
#757A1B #1B467A #501B7A
monochromatic
#181906 #454810 #757A1B #A5AC26 #CCD43C

Accessibility & contrast

On white

4.61
#757A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#757A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #757A1B
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757A1B#FFFFFF#000000##FFFFFF
##757A1B1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847405
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#7D7268
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #757a1b;
/* rgb */ color: rgb(117, 122, 27);
/* oklch */ color: oklch(55.8% 0.113 112.6);
Tailwind
colors: {
  custom: {
    50: '#a0a060',
    500: '#757a1b',
    950: '#000000',
  },
}
SCSS
$custom: #757a1b;
$custom-light: #a0a060;
$custom-dark: #000000;
JSON
{
  "hex": "#757a1b",
  "rgb": {
    "r": 117,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 63.158,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55751,
    "c": 0.11338,
    "h": 112.6
  },
  "luminance": 0.1778
}

Semantic roles & 50–950 ramp

primary
#757A1B
secondary
#4843AE
accent
#41E74A
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #757A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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