#727E22#727E22

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

Color values

HEX#727E22
RGBrgb(114, 126, 34)
HSLhsl(68, 58%, 31%)
HSVhsv(68, 73%, 49%)
CMYKcmyk(9.5%, 0%, 73%, 50.6%)
CIE-LABlab(50.23, -17.17, 45.92)
CIE-LCHlch(50.23, 49.02, 110.50°)
OKLaboklab(56.51% -0.0515 0.1024)
OKLCHoklch(56.51% 0.115 116.7)
XYZxyz(14.6894, 18.6148, 4.3322)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727E22 #2E227E
analogous
#7E5C22 #727E22 #447E22
triadic
#727E22 #22727E #7E2272
tetradic
#727E22 #227E5C #2E227E #7E2244
square
#727E22 #227E5C #2E227E #7E2244
split-complementary
#727E22 #22447E #5C227E
monochromatic
#1B1E08 #464E15 #727E22 #9EAE2F #BECF4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727E22#FFFFFF#000000##000000
##727E221.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)
#877712
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#79776C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727e22;
/* rgb */ color: rgb(114, 126, 34);
/* oklch */ color: oklch(56.5% 0.115 116.7);
Tailwind
colors: {
  custom: {
    50: '#9da364',
    500: '#727e22',
    950: '#000000',
  },
}
SCSS
$custom: #727e22;
$custom-light: #9da364;
$custom-dark: #000000;
JSON
{
  "hex": "#727e22",
  "rgb": {
    "r": 114,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 67.826,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56509,
    "c": 0.1146,
    "h": 116.7
  },
  "luminance": 0.18615
}

Semantic roles & 50–950 ramp

primary
#727E22
secondary
#584BB1
accent
#47E15B
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0F0F06
muted
#7E7F7A

Preview Lab

Preview with #727E22

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

Preview Lab → · Contrast checker → · Palette generator →

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