#757D27#757D27

#757D27 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.6% C 0.109 H 114.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#757D27
RGBrgb(117, 125, 39)
HSLhsl(66, 52%, 32%)
HSVhsv(66, 69%, 49%)
CMYKcmyk(6.4%, 0%, 68.8%, 51%)
CIE-LABlab(50.21, -14.97, 43.92)
CIE-LCHlch(50.21, 46.40, 108.83°)
OKLaboklab(56.56% -0.045 0.099)
OKLCHoklch(56.56% 0.109 114.5)
XYZxyz(15.0363, 18.5959, 4.7163)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757D27 #2F277D
analogous
#7D5A27 #757D27 #4A7D27
triadic
#757D27 #27757D #7D2775
tetradic
#757D27 #277D5A #2F277D #7D274A
square
#757D27 #277D5A #2F277D #7D274A
split-complementary
#757D27 #274A7D #5A277D
monochromatic
#1E200A #494E18 #757D27 #A1AC36 #BFCA55

Accessibility & contrast

On white

4.45
#757D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#757D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757D27
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757D27#FFFFFF#000000##000000
##757D271.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771B
Deuteranopia (green-blind)
#86782D
Tritanopia (blue-blind)
#7D766C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #757d27;
/* rgb */ color: rgb(117, 125, 39);
/* oklch */ color: oklch(56.6% 0.109 114.5);
Tailwind
colors: {
  custom: {
    50: '#9fa266',
    500: '#757d27',
    950: '#000000',
  },
}
SCSS
$custom: #757d27;
$custom-light: #9fa266;
$custom-dark: #000000;
JSON
{
  "hex": "#757d27",
  "rgb": {
    "r": 117,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 65.581,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56563,
    "c": 0.10873,
    "h": 114.5
  },
  "luminance": 0.18596
}

Semantic roles & 50–950 ramp

primary
#757D27
secondary
#5A51AF
accent
#4CDC59
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #757D27

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

Preview Lab → · Contrast checker → · Palette generator →

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