#768226#768226

#768226 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 57.8% C 0.115 H 116.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#768226
RGBrgb(118, 130, 38)
HSLhsl(68, 55%, 33%)
HSVhsv(68, 71%, 51%)
CMYKcmyk(9.2%, 0%, 70.8%, 49%)
CIE-LABlab(51.79, -17.25, 45.97)
CIE-LCHlch(51.79, 49.10, 110.57°)
OKLaboklab(57.85% -0.0515 0.1031)
OKLCHoklch(57.85% 0.115 116.6)
XYZxyz(15.8041, 19.9570, 4.8529)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768226 #322682
analogous
#826026 #768226 #488226
triadic
#768226 #267682 #822676
tetradic
#768226 #268260 #322682 #822648
square
#768226 #268260 #322682 #822648
split-complementary
#768226 #264882 #602682
monochromatic
#20230A #4B5318 #768226 #A1B134 #BECD55

Accessibility & contrast

On white

4.21
#768226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#768226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768226
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768226#FFFFFF#000000##000000
##7682261.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #768226;
/* rgb */ color: rgb(118, 130, 38);
/* oklch */ color: oklch(57.8% 0.115 116.6);
Tailwind
colors: {
  custom: {
    50: '#a0a666',
    500: '#768226',
    950: '#000000',
  },
}
SCSS
$custom: #768226;
$custom-light: #a0a666;
$custom-dark: #000000;
JSON
{
  "hex": "#768226",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 67.826,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57846,
    "c": 0.11524,
    "h": 116.6
  },
  "luminance": 0.19957
}

Semantic roles & 50–950 ramp

primary
#768226
secondary
#5E52B2
accent
#4ADE5D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768226

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

Preview Lab → · Contrast checker → · Palette generator →

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