#657312#657312

#657312 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 52.6% C 0.116 H 118.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#657312
RGBrgb(101, 115, 18)
HSLhsl(69, 73%, 26%)
HSVhsv(69, 84%, 45%)
CMYKcmyk(12.2%, 0%, 84.3%, 54.9%)
CIE-LABlab(45.73, -18.02, 46.92)
CIE-LCHlch(45.73, 50.26, 111.02°)
OKLaboklab(52.6% -0.0545 0.102)
OKLCHoklch(52.6% 0.116 118.1)
XYZxyz(11.6070, 15.0720, 2.8699)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657312 #201273
analogous
#735012 #657312 #347312
triadic
#657312 #126573 #731265
tetradic
#657312 #127350 #201273 #731234
square
#657312 #127350 #201273 #731234
split-complementary
#657312 #123473 #501273
monochromatic
#171A04 #373E0A #657312 #93A81A #C2DD23

Accessibility & contrast

On white

5.23
#657312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#657312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #657312
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##657312#FFFFFF#000000##FFFFFF
##6573121.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7A6D1C
Tritanopia (blue-blind)
#6C6C62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #657312;
/* rgb */ color: rgb(101, 115, 18);
/* oklch */ color: oklch(52.6% 0.116 118.1);
Tailwind
colors: {
  custom: {
    50: '#949b5b',
    500: '#657312',
    950: '#000000',
  },
}
SCSS
$custom: #657312;
$custom-light: #949b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#657312",
  "rgb": {
    "r": 101,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 68.66,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52603,
    "c": 0.11565,
    "h": 118.1
  },
  "luminance": 0.15072
}

Semantic roles & 50–950 ramp

primary
#657312
secondary
#4837AA
accent
#38F053
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #657312

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

Preview Lab → · Contrast checker → · Palette generator →

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