#56640F#56640F

#56640F is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 47.5% C 0.105 H 119.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#56640F
RGBrgb(86, 100, 15)
HSLhsl(70, 74%, 23%)
HSVhsv(70, 85%, 39%)
CMYKcmyk(14%, 0%, 85%, 60.8%)
CIE-LABlab(39.79, -17.06, 42.12)
CIE-LCHlch(39.79, 45.44, 112.05°)
OKLaboklab(47.52% -0.0512 0.0918)
OKLCHoklch(47.52% 0.105 119.2)
XYZxyz(8.4813, 11.1273, 2.1528)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56640F #1D0F64
analogous
#64470F #56640F #2C640F
triadic
#56640F #0F5664 #640F56
tetradic
#56640F #0F6447 #1D0F64 #640F2C
square
#56640F #0F6447 #1D0F64 #640F2C
split-complementary
#56640F #0F2C64 #470F64
monochromatic
#171B04 #282F07 #56640F #849917 #B2CE1F

Accessibility & contrast

On white

6.51
#56640F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#56640F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56640F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56640F#FFFFFF#000000##FFFFFF
##56640F1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#6A5E18
Tritanopia (blue-blind)
#5C5E55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #56640f;
/* rgb */ color: rgb(86, 100, 15);
/* oklch */ color: oklch(47.5% 0.105 119.2);
Tailwind
colors: {
  custom: {
    50: '#899057',
    500: '#56640f',
    950: '#000000',
  },
}
SCSS
$custom: #56640f;
$custom-light: #899057;
$custom-dark: #000000;
JSON
{
  "hex": "#56640f",
  "rgb": {
    "r": 86,
    "g": 100,
    "b": 15
  },
  "hsl": {
    "h": 69.882,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.47517,
    "c": 0.10511,
    "h": 119.2
  },
  "luminance": 0.11127
}

Semantic roles & 50–950 ramp

primary
#56640F
secondary
#44329D
accent
#37F156
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #56640F

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

Preview Lab → · Contrast checker → · Palette generator →

#56640F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva