#768231#768231

#768231 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.0% C 0.106 H 116.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#768231
RGBrgb(118, 130, 49)
HSLhsl(69, 45%, 35%)
HSVhsv(69, 62%, 51%)
CMYKcmyk(9.2%, 0%, 62.3%, 49%)
CIE-LABlab(51.88, -16.46, 41.23)
CIE-LCHlch(51.88, 44.39, 111.77°)
OKLaboklab(57.95% -0.0482 0.0948)
OKLCHoklch(57.95% 0.106 116.9)
XYZxyz(16.0085, 20.0387, 5.9297)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768231 #3D3182
analogous
#826531 #768231 #4D8231
triadic
#768231 #317682 #823176
tetradic
#768231 #318265 #3D3182 #82314D
square
#768231 #318265 #3D3182 #82314D
split-complementary
#768231 #314D82 #653182
monochromatic
#25290F #4E5620 #768231 #9EAE42 #B8C668

Accessibility & contrast

On white

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

On black

5.01
#768231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768231
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768231#FFFFFF#000000##000000
##7682311.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #768231;
/* rgb */ color: rgb(118, 130, 49);
/* oklch */ color: oklch(58.0% 0.106 116.9);
Tailwind
colors: {
  custom: {
    50: '#a0a66d',
    500: '#768231',
    950: '#000000',
  },
}
SCSS
$custom: #768231;
$custom-light: #a0a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#768231",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 68.889,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5795,
    "c": 0.10632,
    "h": 116.9
  },
  "luminance": 0.20039
}

Semantic roles & 50–950 ramp

primary
#768231
secondary
#6D62AD
accent
#53D566
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #768231

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

Preview Lab → · Contrast checker → · Palette generator →

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