#765F12#765F12

#765F12 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.5% C 0.094 H 90.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#765F12
RGBrgb(118, 95, 18)
HSLhsl(46, 74%, 27%)
HSVhsv(46, 85%, 46%)
CMYKcmyk(0%, 19.5%, 84.7%, 53.7%)
CIE-LABlab(41.34, 1.36, 43.67)
CIE-LCHlch(41.34, 43.69, 88.21°)
OKLaboklab(49.49% -0.0012 0.0942)
OKLCHoklch(49.49% 0.094 90.8)
XYZxyz(11.6733, 12.0804, 2.2891)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765F12 #122976
analogous
#762D12 #765F12 #5B7612
triadic
#765F12 #12765F #5F1276
tetradic
#765F12 #12762D #122976 #76125B
square
#765F12 #12762D #122976 #76125B
split-complementary
#765F12 #125B76 #2D1276
monochromatic
#1B1504 #41340A #765F12 #AB8A1A #DEB325

Accessibility & contrast

On white

6.15
#765F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#765F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765F12
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765F12#FFFFFF#000000##FFFFFF
##765F121.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E01
Deuteranopia (green-blind)
#716417
Tritanopia (blue-blind)
#805651
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #765f12;
/* rgb */ color: rgb(118, 95, 18);
/* oklch */ color: oklch(49.5% 0.094 90.8);
Tailwind
colors: {
  custom: {
    50: '#a18c58',
    500: '#765f12',
    950: '#000000',
  },
}
SCSS
$custom: #765f12;
$custom-light: #a18c58;
$custom-dark: #000000;
JSON
{
  "hex": "#765f12",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 46.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49489,
    "c": 0.09419,
    "h": 90.8
  },
  "luminance": 0.1208
}

Semantic roles & 50–950 ramp

primary
#765F12
secondary
#3752AD
accent
#62F038
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #765F12

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

Preview Lab → · Contrast checker → · Palette generator →

#765F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva