#747F17#747F17

#747F17 is a mid, vivid yellow. Relative luminance 0.190; OKLCH L 56.9% C 0.122 H 115.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#747F17
RGBrgb(116, 127, 23)
HSLhsl(66, 69%, 29%)
HSVhsv(66, 82%, 50%)
CMYKcmyk(8.7%, 0%, 81.9%, 50.2%)
CIE-LABlab(50.63, -17.33, 50.21)
CIE-LCHlch(50.63, 53.12, 109.04°)
OKLaboklab(56.85% -0.053 0.1094)
OKLCHoklch(56.85% 0.122 115.9)
XYZxyz(14.9469, 18.9538, 3.6815)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747F17 #22177F
analogous
#7F5617 #747F17 #407F17
triadic
#747F17 #17747F #7F1774
tetradic
#747F17 #177F56 #22177F #7F1740
square
#747F17 #177F56 #22177F #7F1740
split-complementary
#747F17 #17407F #56177F
monochromatic
#181A05 #454B0E #747F17 #A3B320 #C9DB36

Accessibility & contrast

On white

4.38
#747F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#747F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #747F17
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##747F17#FFFFFF#000000##000000
##747F171.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#887921
Tritanopia (blue-blind)
#7C776C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #747f17;
/* rgb */ color: rgb(116, 127, 23);
/* oklch */ color: oklch(56.9% 0.122 115.9);
Tailwind
colors: {
  custom: {
    50: '#9fa45f',
    500: '#747f17',
    950: '#000000',
  },
}
SCSS
$custom: #747f17;
$custom-light: #9fa45f;
$custom-dark: #000000;
JSON
{
  "hex": "#747f17",
  "rgb": {
    "r": 116,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 66.346,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5685,
    "c": 0.12155,
    "h": 115.9
  },
  "luminance": 0.18954
}

Semantic roles & 50–950 ramp

primary
#747F17
secondary
#4B3EB4
accent
#3CEC4E
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #747F17

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

Preview Lab → · Contrast checker → · Palette generator →

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