#757B1B#757B1B

#757B1B 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.61:1 contrast (WCAG AA passes).

Color values

HEX#757B1B
RGBrgb(117, 123, 27)
HSLhsl(64, 64%, 29%)
HSVhsv(64, 78%, 48%)
CMYKcmyk(4.9%, 0%, 78%, 51.8%)
CIE-LABlab(49.53, -14.57, 47.93)
CIE-LCHlch(49.53, 50.10, 106.91°)
OKLaboklab(55.99% -0.0451 0.1053)
OKLCHoklch(55.99% 0.115 113.2)
XYZxyz(14.6174, 18.0273, 3.7463)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757B1B #211B7B
analogous
#7B511B #757B1B #457B1B
triadic
#757B1B #1B757B #7B1B75
tetradic
#757B1B #1B7B51 #211B7B #7B1B45
square
#757B1B #1B7B51 #211B7B #7B1B45
split-complementary
#757B1B #1B457B #511B7B
monochromatic
#181906 #454910 #757B1B #A5AD26 #CBD43C

Accessibility & contrast

On white

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

On black

4.61
#757B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757B1B
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757B1B#FFFFFF#000000##000000
##757B1B1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #757b1b;
/* rgb */ color: rgb(117, 123, 27);
/* oklch */ color: oklch(56.0% 0.115 113.2);
Tailwind
colors: {
  custom: {
    50: '#a0a160',
    500: '#757b1b',
    950: '#000000',
  },
}
SCSS
$custom: #757b1b;
$custom-light: #a0a160;
$custom-dark: #000000;
JSON
{
  "hex": "#757b1b",
  "rgb": {
    "r": 117,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 63.75,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55991,
    "c": 0.11451,
    "h": 113.2
  },
  "luminance": 0.18027
}

Semantic roles & 50–950 ramp

primary
#757B1B
secondary
#4A43AF
accent
#41E74B
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #757B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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