#727B1E#727B1E

#727B1E is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.8% C 0.114 H 115.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#727B1E
RGBrgb(114, 123, 30)
HSLhsl(66, 61%, 30%)
HSVhsv(66, 76%, 48%)
CMYKcmyk(7.3%, 0%, 75.6%, 51.8%)
CIE-LABlab(49.30, -15.79, 46.54)
CIE-LCHlch(49.30, 49.15, 108.74°)
OKLaboklab(55.75% -0.048 0.103)
OKLCHoklch(55.75% 0.114 115)
XYZxyz(14.2571, 17.8373, 3.9199)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727B1E #271E7B
analogous
#7B551E #727B1E #447B1E
triadic
#727B1E #1E727B #7B1E72
tetradic
#727B1E #1E7B55 #271E7B #7B1E44
square
#727B1E #1E7B55 #271E7B #7B1E44
split-complementary
#727B1E #1E447B #551E7B
monochromatic
#171906 #444A12 #727B1E #A0AC2A #C3D142

Accessibility & contrast

On white

4.60
#727B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #727B1E
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727B1E#FFFFFF#000000##FFFFFF
##727B1E1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750B
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#7A7469
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #727b1e;
/* rgb */ color: rgb(114, 123, 30);
/* oklch */ color: oklch(55.8% 0.114 115.0);
Tailwind
colors: {
  custom: {
    50: '#9da161',
    500: '#727b1e',
    950: '#000000',
  },
}
SCSS
$custom: #727b1e;
$custom-light: #9da161;
$custom-dark: #000000;
JSON
{
  "hex": "#727b1e",
  "rgb": {
    "r": 114,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 65.806,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.5575,
    "c": 0.11364,
    "h": 115
  },
  "luminance": 0.17837
}

Semantic roles & 50–950 ramp

primary
#727B1E
secondary
#5046AE
accent
#44E453
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #727B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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