#768239#768239

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

Color values

HEX#768239
RGBrgb(118, 130, 57)
HSLhsl(70, 39%, 37%)
HSVhsv(70, 56%, 51%)
CMYKcmyk(9.2%, 0%, 56.2%, 49%)
CIE-LABlab(51.96, -15.77, 37.45)
CIE-LCHlch(51.96, 40.63, 112.84°)
OKLaboklab(58.04% -0.0454 0.0877)
OKLCHoklch(58.04% 0.099 117.4)
XYZxyz(16.1926, 20.1124, 6.8991)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768239 #453982
analogous
#826A39 #768239 #528239
triadic
#768239 #397682 #823976
tetradic
#768239 #39826A #453982 #823952
square
#768239 #39826A #453982 #823952
split-complementary
#768239 #395282 #6A3982
monochromatic
#292D14 #4F5726 #768239 #9DAD4C #B5C274

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768239#FFFFFF#000000##000000
##7682391.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)
#8A7C32
Deuteranopia (green-blind)
#897C3D
Tritanopia (blue-blind)
#7C7B72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #768239;
/* rgb */ color: rgb(118, 130, 57);
/* oklch */ color: oklch(58.0% 0.099 117.4);
Tailwind
colors: {
  custom: {
    50: '#9fa672',
    500: '#768239',
    950: '#000000',
  },
}
SCSS
$custom: #768239;
$custom-light: #9fa672;
$custom-dark: #000000;
JSON
{
  "hex": "#768239",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 69.863,
    "s": 39.037,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58044,
    "c": 0.09872,
    "h": 117.4
  },
  "luminance": 0.20112
}

Semantic roles & 50–950 ramp

primary
#768239
secondary
#766CAB
accent
#59CF6C
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0F0F08
muted
#7E7F7B

Preview Lab

Preview with #768239

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

Preview Lab → · Contrast checker → · Palette generator →

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