#768128#768128

#768128 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.6% C 0.113 H 116.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#768128
RGBrgb(118, 129, 40)
HSLhsl(67, 53%, 33%)
HSVhsv(67, 69%, 51%)
CMYKcmyk(8.5%, 0%, 69%, 49.4%)
CIE-LABlab(51.50, -16.59, 44.84)
CIE-LCHlch(51.50, 47.81, 110.30°)
OKLaboklab(57.62% -0.0495 0.1011)
OKLCHoklch(57.62% 0.113 116.1)
XYZxyz(15.7048, 19.7055, 4.9833)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768128 #332881
analogous
#815F28 #768128 #498128
triadic
#768128 #287681 #812876
tetradic
#768128 #28815F #332881 #812849
square
#768128 #28815F #332881 #812849
split-complementary
#768128 #284981 #5F2881
monochromatic
#21240B #4B521A #768128 #A1B036 #BDCB58

Accessibility & contrast

On white

4.25
#768128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#768128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768128
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768128#FFFFFF#000000##000000
##7681281.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1B
Deuteranopia (green-blind)
#897B2E
Tritanopia (blue-blind)
#7D7A6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #768128;
/* rgb */ color: rgb(118, 129, 40);
/* oklch */ color: oklch(57.6% 0.113 116.1);
Tailwind
colors: {
  custom: {
    50: '#a0a567',
    500: '#768128',
    950: '#000000',
  },
}
SCSS
$custom: #768128;
$custom-light: #a0a567;
$custom-dark: #000000;
JSON
{
  "hex": "#768128",
  "rgb": {
    "r": 118,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 67.416,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57622,
    "c": 0.11252,
    "h": 116.1
  },
  "luminance": 0.19705
}

Semantic roles & 50–950 ramp

primary
#768128
secondary
#6054B0
accent
#4CDC5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768128

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

Preview Lab → · Contrast checker → · Palette generator →

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