#727F22#727F22

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

Color values

HEX#727F22
RGBrgb(114, 127, 34)
HSLhsl(68, 58%, 32%)
HSVhsv(68, 73%, 50%)
CMYKcmyk(10.2%, 0%, 73.2%, 50.2%)
CIE-LABlab(50.54, -17.69, 46.22)
CIE-LCHlch(50.54, 49.49, 110.95°)
OKLaboklab(56.75% -0.0529 0.103)
OKLCHoklch(56.75% 0.116 117.2)
XYZxyz(14.8179, 18.8718, 4.3751)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727F22 #2F227F
analogous
#7F5E22 #727F22 #447F22
triadic
#727F22 #22727F #7F2272
tetradic
#727F22 #227F5E #2F227F #7F2244
square
#727F22 #227F5E #2F227F #7F2244
split-complementary
#727F22 #22447F #5E227F
monochromatic
#1B1E08 #474F15 #727F22 #9DAF2F #BDCF4C

Accessibility & contrast

On white

4.40
#727F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#727F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727F22
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727F22#FFFFFF#000000##000000
##727F221.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887812
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#79786D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727f22;
/* rgb */ color: rgb(114, 127, 34);
/* oklch */ color: oklch(56.8% 0.116 117.2);
Tailwind
colors: {
  custom: {
    50: '#9da464',
    500: '#727f22',
    950: '#000000',
  },
}
SCSS
$custom: #727f22;
$custom-light: #9da464;
$custom-dark: #000000;
JSON
{
  "hex": "#727f22",
  "rgb": {
    "r": 114,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 68.387,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56753,
    "c": 0.11583,
    "h": 117.2
  },
  "luminance": 0.18872
}

Semantic roles & 50–950 ramp

primary
#727F22
secondary
#5A4BB2
accent
#47E15C
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0F0F06
muted
#7E7F7A

Preview Lab

Preview with #727F22

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

Preview Lab → · Contrast checker → · Palette generator →

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