#768236#768236

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

Color values

HEX#768236
RGBrgb(118, 130, 54)
HSLhsl(69, 41%, 36%)
HSVhsv(69, 58%, 51%)
CMYKcmyk(9.2%, 0%, 58.5%, 49%)
CIE-LABlab(51.93, -16.04, 38.89)
CIE-LCHlch(51.93, 42.07, 112.41°)
OKLaboklab(58.01% -0.0464 0.0904)
OKLCHoklch(58.01% 0.102 117.2)
XYZxyz(16.1200, 20.0833, 6.5166)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768236 #423682
analogous
#826836 #768236 #508236
triadic
#768236 #367682 #823676
tetradic
#768236 #368268 #423682 #823650
square
#768236 #368268 #423682 #823650
split-complementary
#768236 #365082 #683682
monochromatic
#282C12 #4F5724 #768236 #9DAD48 #B6C36F

Accessibility & contrast

On white

4.19
#768236 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##768236#FFFFFF#000000##000000
##7682361.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C2E
Deuteranopia (green-blind)
#897C3B
Tritanopia (blue-blind)
#7D7B71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #768236;
/* rgb */ color: rgb(118, 130, 54);
/* oklch */ color: oklch(58.0% 0.102 117.2);
Tailwind
colors: {
  custom: {
    50: '#9fa670',
    500: '#768236',
    950: '#000000',
  },
}
SCSS
$custom: #768236;
$custom-light: #9fa670;
$custom-dark: #000000;
JSON
{
  "hex": "#768236",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 54
  },
  "hsl": {
    "h": 69.474,
    "s": 41.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58007,
    "c": 0.10167,
    "h": 117.2
  },
  "luminance": 0.20083
}

Semantic roles & 50–950 ramp

primary
#768236
secondary
#7368AC
accent
#57D16A
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #768236

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

Preview Lab → · Contrast checker → · Palette generator →

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