#727E1B#727E1B

#727E1B is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.5% C 0.119 H 116.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#727E1B
RGBrgb(114, 126, 27)
HSLhsl(67, 65%, 30%)
HSVhsv(67, 79%, 49%)
CMYKcmyk(9.5%, 0%, 78.6%, 50.6%)
CIE-LABlab(50.19, -17.53, 48.46)
CIE-LCHlch(50.19, 51.53, 109.89°)
OKLaboklab(56.46% -0.0531 0.1065)
OKLCHoklch(56.46% 0.119 116.5)
XYZxyz(14.5985, 18.5785, 3.8537)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727E1B #271B7E
analogous
#7E591B #727E1B #407E1B
triadic
#727E1B #1B727E #7E1B72
tetradic
#727E1B #1B7E59 #271B7E #7E1B40
square
#727E1B #1B7E59 #271B7E #7E1B40
split-complementary
#727E1B #1B407E #591B7E
monochromatic
#171905 #444C10 #727E1B #A0B026 #C3D63E

Accessibility & contrast

On white

4.45
#727E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#727E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727E1B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727E1B#FFFFFF#000000##000000
##727E1B1.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)
#877703
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#7A766B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727e1b;
/* rgb */ color: rgb(114, 126, 27);
/* oklch */ color: oklch(56.5% 0.119 116.5);
Tailwind
colors: {
  custom: {
    50: '#9ea360',
    500: '#727e1b',
    950: '#000000',
  },
}
SCSS
$custom: #727e1b;
$custom-light: #9ea360;
$custom-dark: #000000;
JSON
{
  "hex": "#727e1b",
  "rgb": {
    "r": 114,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 67.273,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.56461,
    "c": 0.11899,
    "h": 116.5
  },
  "luminance": 0.18578
}

Semantic roles & 50–950 ramp

primary
#727E1B
secondary
#5043B2
accent
#40E854
background
#FAFAF5
surface
#F3F3EA
border
#CDCDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #727E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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