#727A20#727A20

#727A20 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.5% C 0.111 H 114.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#727A20
RGBrgb(114, 122, 32)
HSLhsl(65, 58%, 30%)
HSVhsv(65, 74%, 48%)
CMYKcmyk(6.6%, 0%, 73.8%, 52.2%)
CIE-LABlab(49.01, -15.15, 45.50)
CIE-LCHlch(49.01, 47.96, 108.41°)
OKLaboklab(55.52% -0.0461 0.1012)
OKLCHoklch(55.52% 0.111 114.5)
XYZxyz(14.1601, 17.6010, 4.0176)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727A20 #28207A
analogous
#7A5520 #727A20 #457A20
triadic
#727A20 #20727A #7A2072
tetradic
#727A20 #207A55 #28207A #7A2045
square
#727A20 #207A55 #28207A #7A2045
split-complementary
#727A20 #20457A #55207A
monochromatic
#171907 #454A13 #727A20 #9FAA2D #C2CE46

Accessibility & contrast

On white

4.65
#727A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#727A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #727A20
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727A20#FFFFFF#000000##FFFFFF
##727A201.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837410
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#7A7368
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #727a20;
/* rgb */ color: rgb(114, 122, 32);
/* oklch */ color: oklch(55.5% 0.111 114.5);
Tailwind
colors: {
  custom: {
    50: '#9da062',
    500: '#727a20',
    950: '#000000',
  },
}
SCSS
$custom: #727a20;
$custom-light: #9da062;
$custom-dark: #000000;
JSON
{
  "hex": "#727a20",
  "rgb": {
    "r": 114,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 65.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55522,
    "c": 0.11115,
    "h": 114.5
  },
  "luminance": 0.17601
}

Semantic roles & 50–950 ramp

primary
#727A20
secondary
#5249AD
accent
#46E254
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E05
muted
#7E7E7A

Preview Lab

Preview with #727A20

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

Preview Lab → · Contrast checker → · Palette generator →

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