#768022#768022

#768022 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.3% C 0.116 H 115.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#768022
RGBrgb(118, 128, 34)
HSLhsl(66, 58%, 32%)
HSVhsv(66, 73%, 50%)
CMYKcmyk(7.8%, 0%, 73.4%, 49.8%)
CIE-LABlab(51.16, -16.43, 46.93)
CIE-LCHlch(51.16, 49.73, 109.29°)
OKLaboklab(57.33% -0.0496 0.1044)
OKLCHoklch(57.33% 0.116 115.4)
XYZxyz(15.4795, 19.4056, 4.4433)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768022 #2C2280
analogous
#805B22 #768022 #478022
triadic
#768022 #227680 #802276
tetradic
#768022 #22805B #2C2280 #802247
square
#768022 #22805B #2C2280 #802247
split-complementary
#768022 #224780 #5B2280
monochromatic
#1D1F08 #495015 #768022 #A3B02F #C2D04D

Accessibility & contrast

On white

4.30
#768022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#768022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768022
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768022#FFFFFF#000000##000000
##7680221.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897911
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#7E786E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #768022;
/* rgb */ color: rgb(118, 128, 34);
/* oklch */ color: oklch(57.3% 0.116 115.4);
Tailwind
colors: {
  custom: {
    50: '#a0a464',
    500: '#768022',
    950: '#000000',
  },
}
SCSS
$custom: #768022;
$custom-light: #a0a464;
$custom-dark: #000000;
JSON
{
  "hex": "#768022",
  "rgb": {
    "r": 118,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 66.383,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57332,
    "c": 0.11561,
    "h": 115.4
  },
  "luminance": 0.19405
}

Semantic roles & 50–950 ramp

primary
#768022
secondary
#564BB2
accent
#47E157
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768022

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

Preview Lab → · Contrast checker → · Palette generator →

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