#47951B#47951B

#47951B is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 59.7% C 0.169 H 137.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#47951B
RGBrgb(71, 149, 27)
HSLhsl(98, 69%, 35%)
HSVhsv(98, 82%, 58%)
CMYKcmyk(52.3%, 0%, 81.9%, 41.6%)
CIE-LABlab(54.98, -44.80, 52.00)
CIE-LCHlch(54.98, 68.64, 130.75°)
OKLaboklab(59.71% -0.1244 0.115)
OKLCHoklch(59.71% 0.169 137.2)
XYZxyz(13.5434, 22.9126, 4.7456)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47951B #691B95
analogous
#84951B #47951B #1B952C
triadic
#47951B #1B4795 #951B47
tetradic
#47951B #1B8495 #691B95 #952C1B
square
#47951B #1B8495 #691B95 #952C1B
split-complementary
#47951B #2C1B95 #951B84
monochromatic
#162D08 #2E6112 #47951B #60C924 #81DF4C

Accessibility & contrast

On white

3.76
#47951B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#47951B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #47951B
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47951B#FFFFFF#000000##000000
##47951B1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#428F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #47951b;
/* rgb */ color: rgb(71, 149, 27);
/* oklch */ color: oklch(59.7% 0.169 137.2);
Tailwind
colors: {
  custom: {
    50: '#83b563',
    500: '#47951b',
    950: '#000000',
  },
}
SCSS
$custom: #47951b;
$custom-light: #83b563;
$custom-dark: #000000;
JSON
{
  "hex": "#47951b",
  "rgb": {
    "r": 71,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 98.361,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59708,
    "c": 0.16941,
    "h": 137.2
  },
  "luminance": 0.22914
}

Semantic roles & 50–950 ramp

primary
#47951B
secondary
#964BC1
accent
#3CECAC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #47951B

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

Preview Lab → · Contrast checker → · Palette generator →

#47951B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva