#748312#748312

#748312 is a mid, vivid yellow. Relative luminance 0.200; OKLCH L 57.8% C 0.128 H 117.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#748312
RGBrgb(116, 131, 18)
HSLhsl(68, 76%, 29%)
HSVhsv(68, 86%, 51%)
CMYKcmyk(11.5%, 0%, 86.3%, 48.6%)
CIE-LABlab(51.83, -19.60, 52.64)
CIE-LCHlch(51.83, 56.17, 110.42°)
OKLaboklab(57.8% -0.0596 0.1137)
OKLCHoklch(57.8% 0.128 117.7)
XYZxyz(15.4283, 19.9894, 3.6177)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#748312 #211283
analogous
#835A12 #748312 #3B8312
triadic
#748312 #127483 #831274
tetradic
#748312 #12835A #211283 #83123B
square
#748312 #12835A #211283 #83123B
split-complementary
#748312 #123B83 #5A1283
monochromatic
#181B04 #444D0B #748312 #A4B919 #CAE22D

Accessibility & contrast

On white

4.20
#748312 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#748312 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #748312
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##748312#FFFFFF#000000##000000
##7483121.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8B7C1F
Tritanopia (blue-blind)
#7C7B6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #748312;
/* rgb */ color: rgb(116, 131, 18);
/* oklch */ color: oklch(57.8% 0.128 117.7);
Tailwind
colors: {
  custom: {
    50: '#a0a75d',
    500: '#748312',
    950: '#000000',
  },
}
SCSS
$custom: #748312;
$custom-light: #a0a75d;
$custom-dark: #000000;
JSON
{
  "hex": "#748312",
  "rgb": {
    "r": 116,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 67.965,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57802,
    "c": 0.12838,
    "h": 117.7
  },
  "luminance": 0.19989
}

Semantic roles & 50–950 ramp

primary
#748312
secondary
#4938B8
accent
#35F24E
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #748312

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

Preview Lab → · Contrast checker → · Palette generator →

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