#4B570C#4B570C

#4B570C is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.2% C 0.095 H 118.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4B570C
RGBrgb(75, 87, 12)
HSLhsl(70, 76%, 19%)
HSVhsv(70, 86%, 34%)
CMYKcmyk(13.8%, 0%, 86.2%, 65.9%)
CIE-LABlab(34.68, -15.28, 38.17)
CIE-LCHlch(34.68, 41.12, 111.81°)
OKLaboklab(43.17% -0.0459 0.0832)
OKLCHoklch(43.17% 0.095 118.9)
XYZxyz(6.3764, 8.3388, 1.6214)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B570C #180C57
analogous
#573E0C #4B570C #26570C
triadic
#4B570C #0C4B57 #570C4B
tetradic
#4B570C #0C573E #180C57 #570C26
square
#4B570C #0C573E #180C57 #570C26
split-complementary
#4B570C #0C2657 #3E0C57
monochromatic
#171B04 #1D2105 #4B570C #798D13 #A8C31B

Accessibility & contrast

On white

7.87
#4B570C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4B570C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B570C
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B570C#FFFFFF#000000##FFFFFF
##4B570C1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5200
Deuteranopia (green-blind)
#5C5214
Tritanopia (blue-blind)
#505249
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4b570c;
/* rgb */ color: rgb(75, 87, 12);
/* oklch */ color: oklch(43.2% 0.095 118.9);
Tailwind
colors: {
  custom: {
    50: '#808653',
    500: '#4b570c',
    950: '#000000',
  },
}
SCSS
$custom: #4b570c;
$custom-light: #808653;
$custom-dark: #000000;
JSON
{
  "hex": "#4b570c",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 12
  },
  "hsl": {
    "h": 69.6,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.43168,
    "c": 0.09507,
    "h": 118.9
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#4B570C
secondary
#3D2D92
accent
#35F254
background
#F8F8F4
surface
#EFEFE8
border
#CACAC4
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4B570C

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

Preview Lab → · Contrast checker → · Palette generator →

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