#768237#768237

#768237 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.0% C 0.101 H 117.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#768237
RGBrgb(118, 130, 55)
HSLhsl(70, 41%, 36%)
HSVhsv(70, 58%, 51%)
CMYKcmyk(9.2%, 0%, 57.7%, 49%)
CIE-LABlab(51.94, -15.95, 38.41)
CIE-LCHlch(51.94, 41.59, 112.55°)
OKLaboklab(58.02% -0.0461 0.0895)
OKLCHoklch(58.02% 0.101 117.2)
XYZxyz(16.1437, 20.0928, 6.6415)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768237 #433782
analogous
#826937 #768237 #518237
triadic
#768237 #377682 #823776
tetradic
#768237 #378269 #433782 #823751
square
#768237 #378269 #433782 #823751
split-complementary
#768237 #375182 #693782
monochromatic
#282C13 #4F5725 #768237 #9DAD49 #B6C371

Accessibility & contrast

On white

4.18
#768237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#768237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768237
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768237#FFFFFF#000000##000000
##7682371.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C2F
Deuteranopia (green-blind)
#897C3C
Tritanopia (blue-blind)
#7D7B72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #768237;
/* rgb */ color: rgb(118, 130, 55);
/* oklch */ color: oklch(58.0% 0.101 117.2);
Tailwind
colors: {
  custom: {
    50: '#9fa671',
    500: '#768237',
    950: '#000000',
  },
}
SCSS
$custom: #768237;
$custom-light: #9fa671;
$custom-dark: #000000;
JSON
{
  "hex": "#768237",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 55
  },
  "hsl": {
    "h": 69.6,
    "s": 40.541,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58019,
    "c": 0.1007,
    "h": 117.2
  },
  "luminance": 0.20093
}

Semantic roles & 50–950 ramp

primary
#768237
secondary
#7469AB
accent
#57D06B
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #768237

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

Preview Lab → · Contrast checker → · Palette generator →

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