#747E1B#747E1B

#747E1B is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.6% C 0.118 H 115.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#747E1B
RGBrgb(116, 126, 27)
HSLhsl(66, 65%, 30%)
HSVhsv(66, 79%, 49%)
CMYKcmyk(7.9%, 0%, 78.6%, 50.6%)
CIE-LABlab(50.35, -16.63, 48.66)
CIE-LCHlch(50.35, 51.43, 108.87°)
OKLaboklab(56.63% -0.0508 0.1068)
OKLCHoklch(56.63% 0.118 115.4)
XYZxyz(14.8616, 18.7141, 3.8660)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747E1B #251B7E
analogous
#7E571B #747E1B #427E1B
triadic
#747E1B #1B747E #7E1B74
tetradic
#747E1B #1B7E57 #251B7E #7E1B42
square
#747E1B #1B7E57 #251B7E #7E1B42
split-complementary
#747E1B #1B427E #571B7E
monochromatic
#171905 #464C10 #747E1B #A2B026 #C6D63E

Accessibility & contrast

On white

4.43
#747E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#747E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #747E1B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##747E1B#FFFFFF#000000##000000
##747E1B1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877703
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#7C766B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #747e1b;
/* rgb */ color: rgb(116, 126, 27);
/* oklch */ color: oklch(56.6% 0.118 115.4);
Tailwind
colors: {
  custom: {
    50: '#9fa360',
    500: '#747e1b',
    950: '#000000',
  },
}
SCSS
$custom: #747e1b;
$custom-light: #9fa360;
$custom-dark: #000000;
JSON
{
  "hex": "#747e1b",
  "rgb": {
    "r": 116,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 66.061,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.5663,
    "c": 0.11828,
    "h": 115.4
  },
  "luminance": 0.18714
}

Semantic roles & 50–950 ramp

primary
#747E1B
secondary
#4E43B2
accent
#40E851
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #747E1B

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

Preview Lab → · Contrast checker → · Palette generator →

#747E1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva