#727C22#727C22

#727C22 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.0% C 0.112 H 115.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#727C22
RGBrgb(114, 124, 34)
HSLhsl(67, 57%, 31%)
HSVhsv(67, 73%, 49%)
CMYKcmyk(8.1%, 0%, 72.6%, 51.4%)
CIE-LABlab(49.63, -16.10, 45.32)
CIE-LCHlch(49.63, 48.09, 109.56°)
OKLaboklab(56.02% -0.0485 0.1011)
OKLCHoklch(56.02% 0.112 115.6)
XYZxyz(14.4362, 18.1084, 4.2479)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727C22 #2C227C
analogous
#7C5922 #727C22 #457C22
triadic
#727C22 #22727C #7C2272
tetradic
#727C22 #227C59 #2C227C #7C2245
square
#727C22 #227C59 #2C227C #7C2245
split-complementary
#727C22 #22457C #59227C
monochromatic
#1A1C08 #464C15 #727C22 #9EAC2F #BFCE4B

Accessibility & contrast

On white

4.54
#727C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#727C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727C22
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727C22#FFFFFF#000000##000000
##727C221.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857513
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#7A756A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #727c22;
/* rgb */ color: rgb(114, 124, 34);
/* oklch */ color: oklch(56.0% 0.112 115.6);
Tailwind
colors: {
  custom: {
    50: '#9da163',
    500: '#727c22',
    950: '#000000',
  },
}
SCSS
$custom: #727c22;
$custom-light: #9da163;
$custom-dark: #000000;
JSON
{
  "hex": "#727c22",
  "rgb": {
    "r": 114,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 66.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56023,
    "c": 0.11217,
    "h": 115.6
  },
  "luminance": 0.18108
}

Semantic roles & 50–950 ramp

primary
#727C22
secondary
#564BAF
accent
#48E059
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0F06
muted
#7E7E7A

Preview Lab

Preview with #727C22

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

Preview Lab → · Contrast checker → · Palette generator →

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