#757226#757226

#757226 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 53.9% C 0.097 H 107.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#757226
RGBrgb(117, 114, 38)
HSLhsl(58, 51%, 30%)
HSVhsv(58, 68%, 46%)
CMYKcmyk(0%, 2.6%, 67.5%, 54.1%)
CIE-LABlab(46.92, -9.02, 40.95)
CIE-LCHlch(46.92, 41.93, 102.42°)
OKLaboklab(53.93% -0.0284 0.0925)
OKLCHoklch(53.93% 0.097 107.1)
XYZxyz(13.7038, 15.9569, 4.1915)
Luminance0.1596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757226 #262975
analogous
#754B26 #757226 #507526
triadic
#757226 #267572 #722675
tetradic
#757226 #26754B #262975 #752650
square
#757226 #26754B #262975 #752650
split-complementary
#757226 #265075 #4B2675
monochromatic
#191808 #474517 #757226 #A39F35 #C6C14F

Accessibility & contrast

On white

5.01
#757226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#757226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757226
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757226#FFFFFF#000000##FFFFFF
##7572261.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1C
Deuteranopia (green-blind)
#7D712B
Tritanopia (blue-blind)
#7E6A62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #757226;
/* rgb */ color: rgb(117, 114, 38);
/* oklch */ color: oklch(53.9% 0.097 107.1);
Tailwind
colors: {
  custom: {
    50: '#9f9a65',
    500: '#757226',
    950: '#000000',
  },
}
SCSS
$custom: #757226;
$custom-light: #9f9a65;
$custom-dark: #000000;
JSON
{
  "hex": "#757226",
  "rgb": {
    "r": 117,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 57.722,
    "s": 50.968,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53929,
    "c": 0.0968,
    "h": 107.1
  },
  "luminance": 0.15956
}

Semantic roles & 50–950 ramp

primary
#757226
secondary
#4F53A7
accent
#53DA4D
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #757226

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

Preview Lab → · Contrast checker → · Palette generator →

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