#768127#768127

#768127 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#768127
RGBrgb(118, 129, 39)
HSLhsl(67, 54%, 33%)
HSVhsv(67, 70%, 51%)
CMYKcmyk(8.5%, 0%, 69.8%, 49.4%)
CIE-LABlab(51.49, -16.66, 45.26)
CIE-LCHlch(51.49, 48.22, 110.21°)
OKLaboklab(57.61% -0.0498 0.1017)
OKLCHoklch(57.61% 0.113 116.1)
XYZxyz(15.6880, 19.6988, 4.8949)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768127 #322781
analogous
#815F27 #768127 #498127
triadic
#768127 #277681 #812776
tetradic
#768127 #27815F #322781 #812749
square
#768127 #27815F #322781 #812749
split-complementary
#768127 #274981 #5F2781
monochromatic
#20230B #4B5219 #768127 #A1B035 #BECC56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768127#FFFFFF#000000##000000
##7681271.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)
#8A7A1A
Deuteranopia (green-blind)
#897B2E
Tritanopia (blue-blind)
#7E7A6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #768127;
/* rgb */ color: rgb(118, 129, 39);
/* oklch */ color: oklch(57.6% 0.113 116.1);
Tailwind
colors: {
  custom: {
    50: '#a0a567',
    500: '#768127',
    950: '#000000',
  },
}
SCSS
$custom: #768127;
$custom-light: #a0a567;
$custom-dark: #000000;
JSON
{
  "hex": "#768127",
  "rgb": {
    "r": 118,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 67.333,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57613,
    "c": 0.11327,
    "h": 116.1
  },
  "luminance": 0.19699
}

Semantic roles & 50–950 ramp

primary
#768127
secondary
#5E53B1
accent
#4BDD5D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768127

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

Preview Lab → · Contrast checker → · Palette generator →

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