#657128#657128

#657128 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.3% C 0.098 H 117.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#657128
RGBrgb(101, 113, 40)
HSLhsl(70, 48%, 30%)
HSVhsv(70, 65%, 44%)
CMYKcmyk(10.6%, 0%, 64.6%, 55.7%)
CIE-LABlab(45.26, -15.66, 37.85)
CIE-LCHlch(45.26, 40.96, 112.47°)
OKLaboklab(52.27% -0.0458 0.0867)
OKLCHoklch(52.27% 0.098 117.8)
XYZxyz(11.6552, 14.7303, 4.2363)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657128 #342871
analogous
#715828 #657128 #417128
triadic
#657128 #286571 #712865
tetradic
#657128 #287158 #342871 #712841
square
#657128 #287158 #342871 #712841
split-complementary
#657128 #284171 #582871
monochromatic
#141708 #3D4418 #657128 #8D9E38 #AFC252

Accessibility & contrast

On white

5.32
#657128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#657128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #657128
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##657128#FFFFFF#000000##FFFFFF
##6571281.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B1F
Deuteranopia (green-blind)
#776C2D
Tritanopia (blue-blind)
#6B6B62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #657128;
/* rgb */ color: rgb(101, 113, 40);
/* oklch */ color: oklch(52.3% 0.098 117.8);
Tailwind
colors: {
  custom: {
    50: '#939966',
    500: '#657128',
    950: '#000000',
  },
}
SCSS
$custom: #657128;
$custom-light: #939966;
$custom-dark: #000000;
JSON
{
  "hex": "#657128",
  "rgb": {
    "r": 101,
    "g": 113,
    "b": 40
  },
  "hsl": {
    "h": 69.863,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.52273,
    "c": 0.09808,
    "h": 117.8
  },
  "luminance": 0.1473
}

Semantic roles & 50–950 ramp

primary
#657128
secondary
#5F52A3
accent
#50D767
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E06
muted
#7E7E7A

Preview Lab

Preview with #657128

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

Preview Lab → · Contrast checker → · Palette generator →

#657128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva