#727B22#727B22

#727B22 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 55.8% C 0.111 H 115.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#727B22
RGBrgb(114, 123, 34)
HSLhsl(66, 57%, 31%)
HSVhsv(66, 72%, 48%)
CMYKcmyk(7.3%, 0%, 72.4%, 51.8%)
CIE-LABlab(49.32, -15.57, 45.02)
CIE-LCHlch(49.32, 47.64, 109.08°)
OKLaboklab(55.78% -0.047 0.1005)
OKLCHoklch(55.78% 0.111 115.1)
XYZxyz(14.3115, 17.8591, 4.2063)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727B22 #2B227B
analogous
#7B5722 #727B22 #457B22
triadic
#727B22 #22727B #7B2272
tetradic
#727B22 #227B57 #2B227B #7B2245
square
#727B22 #227B57 #2B227B #7B2245
split-complementary
#727B22 #22457B #57227B
monochromatic
#191B07 #464B15 #727B22 #9EAB2F #C0CD4A

Accessibility & contrast

On white

4.59
#727B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#727B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #727B22
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727B22#FFFFFF#000000##FFFFFF
##727B221.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847513
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#7A7469
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #727b22;
/* rgb */ color: rgb(114, 123, 34);
/* oklch */ color: oklch(55.8% 0.111 115.1);
Tailwind
colors: {
  custom: {
    50: '#9da163',
    500: '#727b22',
    950: '#000000',
  },
}
SCSS
$custom: #727b22;
$custom-light: #9da163;
$custom-dark: #000000;
JSON
{
  "hex": "#727b22",
  "rgb": {
    "r": 114,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 66.067,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5578,
    "c": 0.11097,
    "h": 115.1
  },
  "luminance": 0.17859
}

Semantic roles & 50–950 ramp

primary
#727B22
secondary
#554BAE
accent
#48E057
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E06
muted
#7E7E7A

Preview Lab

Preview with #727B22

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

Preview Lab → · Contrast checker → · Palette generator →

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