#5A751C#5A751C

#5A751C is a mid, moderate yellow-green. Relative luminance 0.150; OKLCH L 52.3% C 0.118 H 125.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5A751C
RGBrgb(90, 117, 28)
HSLhsl(78, 61%, 28%)
HSVhsv(78, 76%, 46%)
CMYKcmyk(23.1%, 0%, 76.1%, 54.1%)
CIE-LABlab(45.61, -23.46, 43.11)
CIE-LCHlch(45.61, 49.08, 118.56°)
OKLaboklab(52.31% -0.0679 0.0961)
OKLCHoklch(52.31% 0.118 125.2)
XYZxyz(10.7874, 14.9799, 3.4215)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A751C #371C75
analogous
#75631C #5A751C #2D751C
triadic
#5A751C #1C5A75 #751C5A
tetradic
#5A751C #1C7563 #371C75 #751C2D
square
#5A751C #1C7563 #371C75 #751C2D
split-complementary
#5A751C #1C2D75 #631C75
monochromatic
#131906 #344410 #5A751C #80A628 #A3D03B

Accessibility & contrast

On white

5.26
#5A751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5A751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A751C
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A751C#FFFFFF#000000##FFFFFF
##5A751C1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0B
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#5E6F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a751c;
/* rgb */ color: rgb(90, 117, 28);
/* oklch */ color: oklch(52.3% 0.118 125.2);
Tailwind
colors: {
  custom: {
    50: '#8c9d5f',
    500: '#5a751c',
    950: '#000000',
  },
}
SCSS
$custom: #5a751c;
$custom-light: #8c9d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a751c",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 78.202,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52312,
    "c": 0.11768,
    "h": 125.2
  },
  "luminance": 0.1498
}

Semantic roles & 50–950 ramp

primary
#5A751C
secondary
#6244A9
accent
#43E474
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5A751C

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

Preview Lab → · Contrast checker → · Palette generator →

#5A751C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva