#727C1B#727C1B

#727C1B is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.0% C 0.117 H 115.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#727C1B
RGBrgb(114, 124, 27)
HSLhsl(66, 64%, 30%)
HSVhsv(66, 78%, 49%)
CMYKcmyk(8.1%, 0%, 78.2%, 51.4%)
CIE-LABlab(49.58, -16.48, 47.89)
CIE-LCHlch(49.58, 50.65, 108.98°)
OKLaboklab(55.97% -0.0502 0.1053)
OKLCHoklch(55.97% 0.117 115.5)
XYZxyz(14.3453, 18.0721, 3.7693)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727C1B #251B7C
analogous
#7C561B #727C1B #417C1B
triadic
#727C1B #1B727C #7C1B72
tetradic
#727C1B #1B7C56 #251B7C #7C1B41
square
#727C1B #1B7C56 #251B7C #7C1B41
split-complementary
#727C1B #1B417C #561B7C
monochromatic
#171905 #444A10 #727C1B #A0AE26 #C5D53D

Accessibility & contrast

On white

4.55
#727C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#727C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727C1B
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727C1B#FFFFFF#000000##000000
##727C1B1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#857504
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#7A746A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #727c1b;
/* rgb */ color: rgb(114, 124, 27);
/* oklch */ color: oklch(56.0% 0.117 115.5);
Tailwind
colors: {
  custom: {
    50: '#9ea160',
    500: '#727c1b',
    950: '#000000',
  },
}
SCSS
$custom: #727c1b;
$custom-light: #9ea160;
$custom-dark: #000000;
JSON
{
  "hex": "#727c1b",
  "rgb": {
    "r": 114,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 66.186,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55973,
    "c": 0.11664,
    "h": 115.5
  },
  "luminance": 0.18072
}

Semantic roles & 50–950 ramp

primary
#727C1B
secondary
#4E43B0
accent
#41E752
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #727C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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