#727D2F#727D2F

#727D2F is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.4% C 0.103 H 116.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#727D2F
RGBrgb(114, 125, 47)
HSLhsl(68, 45%, 34%)
HSVhsv(68, 62%, 49%)
CMYKcmyk(8.8%, 0%, 62.4%, 51%)
CIE-LABlab(50.04, -15.73, 40.06)
CIE-LCHlch(50.04, 43.03, 111.44°)
OKLaboklab(56.39% -0.0461 0.0921)
OKLCHoklch(56.39% 0.103 116.6)
XYZxyz(14.7864, 18.4501, 5.4710)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727D2F #3A2F7D
analogous
#7D612F #727D2F #4B7D2F
triadic
#727D2F #2F727D #7D2F72
tetradic
#727D2F #2F7D61 #3A2F7D #7D2F4B
square
#727D2F #2F7D61 #3A2F7D #7D2F4B
split-complementary
#727D2F #2F4B7D #612F7D
monochromatic
#21240E #49511E #727D2F #9BA940 #B6C462

Accessibility & contrast

On white

4.48
#727D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#727D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727D2F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727D2F#FFFFFF#000000##000000
##727D2F1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857726
Deuteranopia (green-blind)
#847834
Tritanopia (blue-blind)
#79766C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727d2f;
/* rgb */ color: rgb(114, 125, 47);
/* oklch */ color: oklch(56.4% 0.103 116.6);
Tailwind
colors: {
  custom: {
    50: '#9da26b',
    500: '#727d2f',
    950: '#000000',
  },
}
SCSS
$custom: #727d2f;
$custom-light: #9da26b;
$custom-dark: #000000;
JSON
{
  "hex": "#727d2f",
  "rgb": {
    "r": 114,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 68.462,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56386,
    "c": 0.10298,
    "h": 116.6
  },
  "luminance": 0.1845
}

Semantic roles & 50–950 ramp

primary
#727D2F
secondary
#685DAB
accent
#53D565
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0F07
muted
#7E7E7A

Preview Lab

Preview with #727D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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