#757B1A#757B1A

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

Color values

HEX#757B1A
RGBrgb(117, 123, 26)
HSLhsl(64, 65%, 29%)
HSVhsv(64, 79%, 48%)
CMYKcmyk(4.9%, 0%, 78.9%, 51.8%)
CIE-LABlab(49.52, -14.61, 48.27)
CIE-LCHlch(49.52, 50.43, 106.84°)
OKLaboklab(55.99% -0.0453 0.1058)
OKLCHoklch(55.99% 0.115 113.2)
XYZxyz(14.6060, 18.0227, 3.6864)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757B1A #201A7B
analogous
#7B511A #757B1A #457B1A
triadic
#757B1A #1A757B #7B1A75
tetradic
#757B1A #1A7B51 #201A7B #7B1A45
square
#757B1A #1A7B51 #201A7B #7B1A45
split-complementary
#757B1A #1A457B #511A7B
monochromatic
#181905 #45480F #757B1A #A5AE25 #CCD53A

Accessibility & contrast

On white

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

On black

4.60
#757B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757B1A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757B1A#FFFFFF#000000##000000
##757B1A1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#857502
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#7D7369
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #757b1a;
/* rgb */ color: rgb(117, 123, 26);
/* oklch */ color: oklch(56.0% 0.115 113.2);
Tailwind
colors: {
  custom: {
    50: '#a0a15f',
    500: '#757b1a',
    950: '#000000',
  },
}
SCSS
$custom: #757b1a;
$custom-light: #a0a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#757b1a",
  "rgb": {
    "r": 117,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 63.711,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55985,
    "c": 0.11508,
    "h": 113.2
  },
  "luminance": 0.18022
}

Semantic roles & 50–950 ramp

primary
#757B1A
secondary
#4842AF
accent
#40E84A
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #757B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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