#727A1F#727A1F

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

Color values

HEX#727A1F
RGBrgb(114, 122, 31)
HSLhsl(65, 59%, 30%)
HSVhsv(65, 75%, 48%)
CMYKcmyk(6.6%, 0%, 74.6%, 52.2%)
CIE-LABlab(49.00, -15.20, 45.88)
CIE-LCHlch(49.00, 48.33, 108.33°)
OKLaboklab(55.52% -0.0463 0.1018)
OKLCHoklch(55.52% 0.112 114.5)
XYZxyz(14.1467, 17.5957, 3.9471)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727A1F #271F7A
analogous
#7A551F #727A1F #447A1F
triadic
#727A1F #1F727A #7A1F72
tetradic
#727A1F #1F7A55 #271F7A #7A1F44
square
#727A1F #1F7A55 #271F7A #7A1F44
split-complementary
#727A1F #1F447A #551F7A
monochromatic
#171806 #444913 #727A1F #A0AB2B #C3CF44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727A1F#FFFFFF#000000##FFFFFF
##727A1F1.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)
#83740E
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#7A7368
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #727a1f;
/* rgb */ color: rgb(114, 122, 31);
/* oklch */ color: oklch(55.5% 0.112 114.5);
Tailwind
colors: {
  custom: {
    50: '#9da062',
    500: '#727a1f',
    950: '#000000',
  },
}
SCSS
$custom: #727a1f;
$custom-light: #9da062;
$custom-dark: #000000;
JSON
{
  "hex": "#727a1f",
  "rgb": {
    "r": 114,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 65.275,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.55515,
    "c": 0.11182,
    "h": 114.5
  },
  "luminance": 0.17595
}

Semantic roles & 50–950 ramp

primary
#727A1F
secondary
#5047AD
accent
#45E353
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E05
muted
#7E7E7A

Preview Lab

Preview with #727A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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