#727B1D#727B1D

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

Color values

HEX#727B1D
RGBrgb(114, 123, 29)
HSLhsl(66, 62%, 30%)
HSVhsv(66, 76%, 48%)
CMYKcmyk(7.3%, 0%, 76.4%, 51.8%)
CIE-LABlab(49.29, -15.84, 46.91)
CIE-LCHlch(49.29, 49.51, 108.66°)
OKLaboklab(55.74% -0.0483 0.1036)
OKLCHoklch(55.74% 0.114 115)
XYZxyz(14.2446, 17.8323, 3.8537)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727B1D #261D7B
analogous
#7B551D #727B1D #437B1D
triadic
#727B1D #1D727B #7B1D72
tetradic
#727B1D #1D7B55 #261D7B #7B1D43
square
#727B1D #1D7B55 #261D7B #7B1D43
split-complementary
#727B1D #1D437B #551D7B
monochromatic
#171906 #444911 #727B1D #A0AD29 #C4D240

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727B1D#FFFFFF#000000##FFFFFF
##727B1D1.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)
#847409
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#7A7369
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #727b1d;
/* rgb */ color: rgb(114, 123, 29);
/* oklch */ color: oklch(55.7% 0.114 115.0);
Tailwind
colors: {
  custom: {
    50: '#9da161',
    500: '#727b1d',
    950: '#000000',
  },
}
SCSS
$custom: #727b1d;
$custom-light: #9da161;
$custom-dark: #000000;
JSON
{
  "hex": "#727b1d",
  "rgb": {
    "r": 114,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 65.745,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.11427,
    "h": 115
  },
  "luminance": 0.17832
}

Semantic roles & 50–950 ramp

primary
#727B1D
secondary
#4F45AF
accent
#43E552
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #727B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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