#757122#757122

#757122 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.7% C 0.099 H 106.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#757122
RGBrgb(117, 113, 34)
HSLhsl(57, 55%, 30%)
HSVhsv(57, 71%, 46%)
CMYKcmyk(0%, 3.4%, 70.9%, 54.1%)
CIE-LABlab(46.59, -8.71, 42.37)
CIE-LCHlch(46.59, 43.25, 101.61°)
OKLaboklab(53.66% -0.028 0.0948)
OKLCHoklch(53.66% 0.099 106.4)
XYZxyz(13.5305, 15.7081, 3.8323)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757122 #222675
analogous
#754722 #757122 #507522
triadic
#757122 #227571 #712275
tetradic
#757122 #227547 #222675 #752250
square
#757122 #227547 #222675 #752250
split-complementary
#757122 #225075 #472275
monochromatic
#181707 #464314 #757122 #A49F30 #CAC348

Accessibility & contrast

On white

5.07
#757122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#757122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757122
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757122#FFFFFF#000000##FFFFFF
##7571221.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D16
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#7E6961
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #757122;
/* rgb */ color: rgb(117, 113, 34);
/* oklch */ color: oklch(53.7% 0.099 106.4);
Tailwind
colors: {
  custom: {
    50: '#9f9962',
    500: '#757122',
    950: '#000000',
  },
}
SCSS
$custom: #757122;
$custom-light: #9f9962;
$custom-dark: #000000;
JSON
{
  "hex": "#757122",
  "rgb": {
    "r": 117,
    "g": 113,
    "b": 34
  },
  "hsl": {
    "h": 57.108,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53657,
    "c": 0.09887,
    "h": 106.4
  },
  "luminance": 0.15708
}

Semantic roles & 50–950 ramp

primary
#757122
secondary
#4B4FA8
accent
#51DE49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D05
muted
#7F7E7A

Preview Lab

Preview with #757122

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

Preview Lab → · Contrast checker → · Palette generator →

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