#4B530F#4B530F

#4B530F is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.1% C 0.088 H 116.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4B530F
RGBrgb(75, 83, 15)
HSLhsl(67, 69%, 19%)
HSVhsv(67, 82%, 33%)
CMYKcmyk(9.6%, 0%, 81.9%, 67.5%)
CIE-LABlab(33.39, -12.89, 35.95)
CIE-LCHlch(33.39, 38.19, 109.73°)
OKLaboklab(42.13% -0.0391 0.0791)
OKLCHoklch(42.13% 0.088 116.3)
XYZxyz(6.0813, 7.7169, 1.6210)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B530F #170F53
analogous
#53390F #4B530F #29530F
triadic
#4B530F #0F4B53 #530F4B
tetradic
#4B530F #0F5339 #170F53 #530F29
square
#4B530F #0F5339 #170F53 #530F29
split-complementary
#4B530F #0F2953 #390F53
monochromatic
#171A05 #1C1F06 #4B530F #7A8718 #A9BB22

Accessibility & contrast

On white

8.26
#4B530F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4B530F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B530F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B530F#FFFFFF#000000##FFFFFF
##4B530F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E02
Deuteranopia (green-blind)
#594F15
Tritanopia (blue-blind)
#504E46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4b530f;
/* rgb */ color: rgb(75, 83, 15);
/* oklch */ color: oklch(42.1% 0.088 116.3);
Tailwind
colors: {
  custom: {
    50: '#808354',
    500: '#4b530f',
    950: '#000000',
  },
}
SCSS
$custom: #4b530f;
$custom-light: #808354;
$custom-dark: #000000;
JSON
{
  "hex": "#4b530f",
  "rgb": {
    "r": 75,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 67.059,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.42133,
    "c": 0.08824,
    "h": 116.3
  },
  "luminance": 0.07717
}

Semantic roles & 50–950 ramp

primary
#4B530F
secondary
#3C318D
accent
#3CEC50
background
#F8F8F5
surface
#EFEFE8
border
#CACAC4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B530F

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

Preview Lab → · Contrast checker → · Palette generator →

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