#727A1B#727A1B

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

Color values

HEX#727A1B
RGBrgb(114, 122, 27)
HSLhsl(65, 64%, 29%)
HSVhsv(65, 78%, 48%)
CMYKcmyk(6.6%, 0%, 77.9%, 52.2%)
CIE-LABlab(48.98, -15.41, 47.33)
CIE-LCHlch(48.98, 49.77, 108.03°)
OKLaboklab(55.49% -0.0473 0.1041)
OKLCHoklch(55.49% 0.114 114.4)
XYZxyz(14.0972, 17.5759, 3.6866)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727A1B #231B7A
analogous
#7A531B #727A1B #437A1B
triadic
#727A1B #1B727A #7A1B72
tetradic
#727A1B #1B7A53 #231B7A #7A1B43
square
#727A1B #1B7A53 #231B7A #7A1B43
split-complementary
#727A1B #1B437A #531B7A
monochromatic
#171906 #434810 #727A1B #A1AC26 #C7D43C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727A1B#FFFFFF#000000##FFFFFF
##727A1B1.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)
#837405
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#7A7268
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #727a1b;
/* rgb */ color: rgb(114, 122, 27);
/* oklch */ color: oklch(55.5% 0.114 114.4);
Tailwind
colors: {
  custom: {
    50: '#9ea060',
    500: '#727a1b',
    950: '#000000',
  },
}
SCSS
$custom: #727a1b;
$custom-light: #9ea060;
$custom-dark: #000000;
JSON
{
  "hex": "#727a1b",
  "rgb": {
    "r": 114,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 65.053,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55487,
    "c": 0.11432,
    "h": 114.4
  },
  "luminance": 0.17576
}

Semantic roles & 50–950 ramp

primary
#727A1B
secondary
#4C43AE
accent
#41E74F
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #727A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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