#768026#768026

#768026 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.4% C 0.113 H 115.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#768026
RGBrgb(118, 128, 38)
HSLhsl(67, 54%, 33%)
HSVhsv(67, 70%, 50%)
CMYKcmyk(7.8%, 0%, 70.3%, 49.8%)
CIE-LABlab(51.19, -16.19, 45.36)
CIE-LCHlch(51.19, 48.16, 109.64°)
OKLaboklab(57.36% -0.0486 0.1018)
OKLCHoklch(57.36% 0.113 115.5)
XYZxyz(15.5406, 19.4301, 4.7651)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768026 #302680
analogous
#805D26 #768026 #498026
triadic
#768026 #267680 #802676
tetradic
#768026 #26805D #302680 #802649
square
#768026 #26805D #302680 #802649
split-complementary
#768026 #264980 #5D2680
monochromatic
#1F220A #4A5118 #768026 #A2AF34 #BFCC54

Accessibility & contrast

On white

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

On black

4.89
#768026 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768026
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768026#FFFFFF#000000##000000
##7680261.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897918
Deuteranopia (green-blind)
#887B2D
Tritanopia (blue-blind)
#7E796E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #768026;
/* rgb */ color: rgb(118, 128, 38);
/* oklch */ color: oklch(57.4% 0.113 115.5);
Tailwind
colors: {
  custom: {
    50: '#a0a466',
    500: '#768026',
    950: '#000000',
  },
}
SCSS
$custom: #768026;
$custom-light: #a0a466;
$custom-dark: #000000;
JSON
{
  "hex": "#768026",
  "rgb": {
    "r": 118,
    "g": 128,
    "b": 38
  },
  "hsl": {
    "h": 66.667,
    "s": 54.217,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57363,
    "c": 0.1128,
    "h": 115.5
  },
  "luminance": 0.1943
}

Semantic roles & 50–950 ramp

primary
#768026
secondary
#5C51B1
accent
#4ADE5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768026

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

Preview Lab → · Contrast checker → · Palette generator →

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