#657126#657126

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

Color values

HEX#657126
RGBrgb(101, 113, 38)
HSLhsl(70, 50%, 30%)
HSVhsv(70, 66%, 44%)
CMYKcmyk(10.6%, 0%, 66.4%, 55.7%)
CIE-LABlab(45.24, -15.81, 38.77)
CIE-LCHlch(45.24, 41.87, 112.19°)
OKLaboklab(52.25% -0.0464 0.0884)
OKLCHoklch(52.25% 0.1 117.7)
XYZxyz(11.6220, 14.7170, 4.0618)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657126 #322671
analogous
#715826 #657126 #407126
triadic
#657126 #266571 #712665
tetradic
#657126 #267158 #322671 #712640
square
#657126 #267158 #322671 #712640
split-complementary
#657126 #264071 #582671
monochromatic
#141708 #3C4317 #657126 #8E9F35 #B1C34E

Accessibility & contrast

On white

5.33
#657126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#657126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #657126
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##657126#FFFFFF#000000##FFFFFF
##6571261.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1C
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#6B6B61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #657126;
/* rgb */ color: rgb(101, 113, 38);
/* oklch */ color: oklch(52.3% 0.100 117.7);
Tailwind
colors: {
  custom: {
    50: '#939964',
    500: '#657126',
    950: '#000000',
  },
}
SCSS
$custom: #657126;
$custom-light: #939964;
$custom-dark: #000000;
JSON
{
  "hex": "#657126",
  "rgb": {
    "r": 101,
    "g": 113,
    "b": 38
  },
  "hsl": {
    "h": 69.6,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52253,
    "c": 0.09983,
    "h": 117.7
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

primary
#657126
secondary
#5D4FA4
accent
#4FD965
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0E06
muted
#7E7E7A

Preview Lab

Preview with #657126

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

Preview Lab → · Contrast checker → · Palette generator →

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