#727E28#727E28

#727E28 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.6% C 0.110 H 116.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#727E28
RGBrgb(114, 126, 40)
HSLhsl(68, 52%, 33%)
HSVhsv(68, 68%, 49%)
CMYKcmyk(9.5%, 0%, 68.3%, 50.6%)
CIE-LABlab(50.28, -16.79, 43.48)
CIE-LCHlch(50.28, 46.61, 111.11°)
OKLaboklab(56.56% -0.0498 0.0983)
OKLCHoklch(56.56% 0.11 116.9)
XYZxyz(14.7836, 18.6525, 4.8286)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727E28 #34287E
analogous
#7E5F28 #727E28 #477E28
triadic
#727E28 #28727E #7E2872
tetradic
#727E28 #287E5F #34287E #7E2847
square
#727E28 #287E5F #34287E #7E2847
split-complementary
#727E28 #28477E #5F287E
monochromatic
#1E210B #485019 #727E28 #9CAC37 #BACA57

Accessibility & contrast

On white

4.44
#727E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#727E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727E28
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727E28#FFFFFF#000000##000000
##727E281.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87771C
Deuteranopia (green-blind)
#86782E
Tritanopia (blue-blind)
#79776D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727e28;
/* rgb */ color: rgb(114, 126, 40);
/* oklch */ color: oklch(56.6% 0.110 116.9);
Tailwind
colors: {
  custom: {
    50: '#9da367',
    500: '#727e28',
    950: '#000000',
  },
}
SCSS
$custom: #727e28;
$custom-light: #9da367;
$custom-dark: #000000;
JSON
{
  "hex": "#727e28",
  "rgb": {
    "r": 114,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 68.372,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56559,
    "c": 0.11018,
    "h": 116.9
  },
  "luminance": 0.18652
}

Semantic roles & 50–950 ramp

primary
#727E28
secondary
#6053AF
accent
#4DDB60
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0F0F06
muted
#7E7F7A

Preview Lab

Preview with #727E28

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

Preview Lab → · Contrast checker → · Palette generator →

#727E28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva