#768125#768125

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

Color values

HEX#768125
RGBrgb(118, 129, 37)
HSLhsl(67, 55%, 33%)
HSVhsv(67, 71%, 51%)
CMYKcmyk(8.5%, 0%, 71.3%, 49.4%)
CIE-LABlab(51.48, -16.78, 46.06)
CIE-LCHlch(51.48, 49.02, 110.02°)
OKLaboklab(57.6% -0.0503 0.1031)
OKLCHoklch(57.6% 0.115 116)
XYZxyz(15.6558, 19.6859, 4.7249)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768125 #302581
analogous
#815E25 #768125 #488125
triadic
#768125 #257681 #812576
tetradic
#768125 #25815E #302581 #812548
square
#768125 #25815E #302581 #812548
split-complementary
#768125 #254881 #5E2581
monochromatic
#1F220A #4A5117 #768125 #A2B133 #BFCE53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768125#FFFFFF#000000##000000
##7681251.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)
#8A7A16
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#7E796F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #768125;
/* rgb */ color: rgb(118, 129, 37);
/* oklch */ color: oklch(57.6% 0.115 116.0);
Tailwind
colors: {
  custom: {
    50: '#a0a566',
    500: '#768125',
    950: '#000000',
  },
}
SCSS
$custom: #768125;
$custom-light: #a0a566;
$custom-dark: #000000;
JSON
{
  "hex": "#768125",
  "rgb": {
    "r": 118,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 67.174,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57597,
    "c": 0.11474,
    "h": 116
  },
  "luminance": 0.19686
}

Semantic roles & 50–950 ramp

primary
#768125
secondary
#5C50B2
accent
#49DF5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768125

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

Preview Lab → · Contrast checker → · Palette generator →

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