#757A1A#757A1A

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

Color values

HEX#757A1A
RGBrgb(117, 122, 26)
HSLhsl(63, 65%, 29%)
HSVhsv(63, 79%, 48%)
CMYKcmyk(4.1%, 0%, 78.7%, 52.2%)
CIE-LABlab(49.22, -14.08, 47.99)
CIE-LCHlch(49.22, 50.02, 106.35°)
OKLaboklab(55.74% -0.0438 0.1052)
OKLCHoklch(55.74% 0.114 112.6)
XYZxyz(14.4826, 17.7759, 3.6453)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757A1A #1F1A7A
analogous
#7A4F1A #757A1A #457A1A
triadic
#757A1A #1A757A #7A1A75
tetradic
#757A1A #1A7A4F #1F1A7A #7A1A45
square
#757A1A #1A7A4F #1F1A7A #7A1A45
split-complementary
#757A1A #1A457A #4F1A7A
monochromatic
#181905 #45480F #757A1A #A5AC25 #CDD539

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##757A1A#FFFFFF#000000##FFFFFF
##757A1A1.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)
#847403
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#7D7268
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #757a1a;
/* rgb */ color: rgb(117, 122, 26);
/* oklch */ color: oklch(55.7% 0.114 112.6);
Tailwind
colors: {
  custom: {
    50: '#a0a05f',
    500: '#757a1a',
    950: '#000000',
  },
}
SCSS
$custom: #757a1a;
$custom-light: #a0a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#757a1a",
  "rgb": {
    "r": 117,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 63.125,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.11395,
    "h": 112.6
  },
  "luminance": 0.17776
}

Semantic roles & 50–950 ramp

primary
#757A1A
secondary
#4741AE
accent
#40E849
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #757A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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