#758226#758226

#758226 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.116 H 117.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#758226
RGBrgb(117, 130, 38)
HSLhsl(68, 55%, 33%)
HSVhsv(68, 71%, 51%)
CMYKcmyk(10%, 0%, 70.8%, 49%)
CIE-LABlab(51.71, -17.69, 45.86)
CIE-LCHlch(51.71, 49.16, 111.09°)
OKLaboklab(57.76% -0.0527 0.1029)
OKLCHoklch(57.76% 0.116 117.1)
XYZxyz(15.6690, 19.8873, 4.8465)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#758226 #332682
analogous
#826126 #758226 #478226
triadic
#758226 #267582 #822675
tetradic
#758226 #268261 #332682 #822647
square
#758226 #268261 #332682 #822647
split-complementary
#758226 #264782 #612682
monochromatic
#20230A #4A5318 #758226 #A0B134 #BCCD55

Accessibility & contrast

On white

4.22
#758226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#758226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #758226
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##758226#FFFFFF#000000##000000
##7582261.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B18
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#7C7B70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #758226;
/* rgb */ color: rgb(117, 130, 38);
/* oklch */ color: oklch(57.8% 0.116 117.1);
Tailwind
colors: {
  custom: {
    50: '#9fa666',
    500: '#758226',
    950: '#000000',
  },
}
SCSS
$custom: #758226;
$custom-light: #9fa666;
$custom-dark: #000000;
JSON
{
  "hex": "#758226",
  "rgb": {
    "r": 117,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 68.478,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57763,
    "c": 0.11561,
    "h": 117.1
  },
  "luminance": 0.19887
}

Semantic roles & 50–950 ramp

primary
#758226
secondary
#5F52B2
accent
#4ADE5F
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #758226

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

Preview Lab → · Contrast checker → · Palette generator →

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