#768428#768428

#768428 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.3% C 0.116 H 117.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#768428
RGBrgb(118, 132, 40)
HSLhsl(69, 53%, 34%)
HSVhsv(69, 70%, 52%)
CMYKcmyk(10.6%, 0%, 69.7%, 48.2%)
CIE-LABlab(52.41, -18.17, 45.77)
CIE-LCHlch(52.41, 49.24, 111.65°)
OKLaboklab(58.35% -0.0539 0.103)
OKLCHoklch(58.35% 0.116 117.6)
XYZxyz(16.1058, 20.5074, 5.1169)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768428 #362884
analogous
#846428 #768428 #488428
triadic
#768428 #287684 #842876
tetradic
#768428 #288464 #362884 #842848
square
#768428 #288464 #362884 #842848
split-complementary
#768428 #284884 #642884
monochromatic
#22260C #4C551A #768428 #A0B336 #BBCD5A

Accessibility & contrast

On white

4.12
#768428 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#768428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768428
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768428#FFFFFF#000000##000000
##7684281.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1A
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#7D7D72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #768428;
/* rgb */ color: rgb(118, 132, 40);
/* oklch */ color: oklch(58.3% 0.116 117.6);
Tailwind
colors: {
  custom: {
    50: '#a0a768',
    500: '#768428',
    950: '#000000',
  },
}
SCSS
$custom: #768428;
$custom-light: #a0a768;
$custom-dark: #000000;
JSON
{
  "hex": "#768428",
  "rgb": {
    "r": 118,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 69.13,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58347,
    "c": 0.11625,
    "h": 117.6
  },
  "luminance": 0.20507
}

Semantic roles & 50–950 ramp

primary
#768428
secondary
#6456B2
accent
#4BDD61
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768428

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

Preview Lab → · Contrast checker → · Palette generator →

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