#4A530E#4A530E

#4A530E is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.0% C 0.089 H 117.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4A530E
RGBrgb(74, 83, 14)
HSLhsl(68, 71%, 19%)
HSVhsv(68, 83%, 33%)
CMYKcmyk(10.8%, 0%, 83.1%, 67.5%)
CIE-LABlab(33.29, -13.43, 36.20)
CIE-LCHlch(33.29, 38.61, 110.35°)
OKLaboklab(42.04% -0.0406 0.0795)
OKLCHoklch(42.04% 0.089 117.1)
XYZxyz(5.9967, 7.6741, 1.5807)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A530E #170E53
analogous
#533A0E #4A530E #28530E
triadic
#4A530E #0E4A53 #530E4A
tetradic
#4A530E #0E533A #170E53 #530E28
square
#4A530E #0E533A #170E53 #530E28
split-complementary
#4A530E #0E2853 #3A0E53
monochromatic
#171A04 #1B1F05 #4A530E #798717 #A7BC20

Accessibility & contrast

On white

8.28
#4A530E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4A530E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A530E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A530E#FFFFFF#000000##FFFFFF
##4A530E1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E01
Deuteranopia (green-blind)
#584F14
Tritanopia (blue-blind)
#4F4E46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a530e;
/* rgb */ color: rgb(74, 83, 14);
/* oklch */ color: oklch(42.0% 0.089 117.1);
Tailwind
colors: {
  custom: {
    50: '#7f8353',
    500: '#4a530e',
    950: '#000000',
  },
}
SCSS
$custom: #4a530e;
$custom-light: #7f8353;
$custom-dark: #000000;
JSON
{
  "hex": "#4a530e",
  "rgb": {
    "r": 74,
    "g": 83,
    "b": 14
  },
  "hsl": {
    "h": 67.826,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42037,
    "c": 0.08925,
    "h": 117.1
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#4A530E
secondary
#3C2F8D
accent
#3AEE51
background
#F7F8F4
surface
#EEEFE8
border
#C9CAC4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A530E

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

Preview Lab → · Contrast checker → · Palette generator →

#4A530E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva