#727F2B#727F2B

#727F2B is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.8% C 0.109 H 117.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#727F2B
RGBrgb(114, 127, 43)
HSLhsl(69, 49%, 33%)
HSVhsv(69, 66%, 50%)
CMYKcmyk(10.2%, 0%, 66.1%, 50.2%)
CIE-LABlab(50.61, -17.10, 42.51)
CIE-LCHlch(50.61, 45.82, 111.92°)
OKLaboklab(56.83% -0.0503 0.0967)
OKLCHoklch(56.83% 0.109 117.5)
XYZxyz(14.9651, 18.9307, 5.1507)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727F2B #382B7F
analogous
#7F622B #727F2B #487F2B
triadic
#727F2B #2B727F #7F2B72
tetradic
#727F2B #2B7F62 #382B7F #7F2B48
square
#727F2B #2B7F62 #382B7F #7F2B48
split-complementary
#727F2B #2B487F #622B7F
monochromatic
#20240C #49511C #727F2B #9BAD3A #B7C85C

Accessibility & contrast

On white

4.39
#727F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#727F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727F2B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727F2B#FFFFFF#000000##000000
##727F2B1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877820
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#79786E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727f2b;
/* rgb */ color: rgb(114, 127, 43);
/* oklch */ color: oklch(56.8% 0.109 117.5);
Tailwind
colors: {
  custom: {
    50: '#9da469',
    500: '#727f2b',
    950: '#000000',
  },
}
SCSS
$custom: #727f2b;
$custom-light: #9da469;
$custom-dark: #000000;
JSON
{
  "hex": "#727f2b",
  "rgb": {
    "r": 114,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 69.286,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56831,
    "c": 0.10903,
    "h": 117.5
  },
  "luminance": 0.18931
}

Semantic roles & 50–950 ramp

primary
#727F2B
secondary
#6558AE
accent
#4FD964
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0F0F06
muted
#7E7F7A

Preview Lab

Preview with #727F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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