#536F12#536F12

#536F12 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.119 H 125.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#536F12
RGBrgb(83, 111, 18)
HSLhsl(78, 72%, 25%)
HSVhsv(78, 84%, 44%)
CMYKcmyk(25.2%, 0%, 83.8%, 56.5%)
CIE-LABlab(43.14, -24.01, 44.10)
CIE-LCHlch(43.14, 50.21, 118.56°)
OKLaboklab(50.17% -0.0698 0.0967)
OKLCHoklch(50.17% 0.119 125.8)
XYZxyz(9.3610, 13.2514, 2.6367)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#536F12 #2E126F
analogous
#6F5D12 #536F12 #246F12
triadic
#536F12 #12536F #6F1253
tetradic
#536F12 #126F5D #2E126F #6F1224
square
#536F12 #126F5D #2E126F #6F1224
split-complementary
#536F12 #12246F #5D126F
monochromatic
#141A04 #2C3A09 #536F12 #7AA41B #A2D823

Accessibility & contrast

On white

5.75
#536F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#536F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #536F12
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##536F12#FFFFFF#000000##FFFFFF
##536F121.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#72651C
Tritanopia (blue-blind)
#57695E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #536f12;
/* rgb */ color: rgb(83, 111, 18);
/* oklch */ color: oklch(50.2% 0.119 125.8);
Tailwind
colors: {
  custom: {
    50: '#879859',
    500: '#536f12',
    950: '#000000',
  },
}
SCSS
$custom: #536f12;
$custom-light: #879859;
$custom-dark: #000000;
JSON
{
  "hex": "#536f12",
  "rgb": {
    "r": 83,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 78.065,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.5017,
    "c": 0.1192,
    "h": 125.8
  },
  "luminance": 0.13252
}

Semantic roles & 50–950 ramp

primary
#536F12
secondary
#5837A6
accent
#39EF70
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #536F12

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

Preview Lab → · Contrast checker → · Palette generator →

#536F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva