#727D1C#727D1C

#727D1C is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.2% C 0.117 H 116.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#727D1C
RGBrgb(114, 125, 28)
HSLhsl(67, 63%, 30%)
HSVhsv(67, 78%, 49%)
CMYKcmyk(8.8%, 0%, 77.6%, 51%)
CIE-LABlab(49.89, -16.96, 47.83)
CIE-LCHlch(49.89, 50.75, 109.52°)
OKLaboklab(56.22% -0.0515 0.1053)
OKLCHoklch(56.22% 0.117 116)
XYZxyz(14.4830, 18.3287, 3.8732)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727D1C #271C7D
analogous
#7D571C #727D1C #427D1C
triadic
#727D1C #1C727D #7D1C72
tetradic
#727D1C #1C7D57 #271C7D #7D1C42
square
#727D1C #1C7D57 #271C7D #7D1C42
split-complementary
#727D1C #1C427D #571C7D
monochromatic
#171906 #444B11 #727D1C #A0AF27 #C3D43F

Accessibility & contrast

On white

4.50
#727D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#727D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727D1C
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727D1C#FFFFFF#000000##000000
##727D1C1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867606
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#7A756B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727d1c;
/* rgb */ color: rgb(114, 125, 28);
/* oklch */ color: oklch(56.2% 0.117 116.0);
Tailwind
colors: {
  custom: {
    50: '#9ea261',
    500: '#727d1c',
    950: '#000000',
  },
}
SCSS
$custom: #727d1c;
$custom-light: #9ea261;
$custom-dark: #000000;
JSON
{
  "hex": "#727d1c",
  "rgb": {
    "r": 114,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 66.804,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.56223,
    "c": 0.11724,
    "h": 116
  },
  "luminance": 0.18328
}

Semantic roles & 50–950 ramp

primary
#727D1C
secondary
#5044B1
accent
#41E654
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #727D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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