#374104#374104

#374104 is a dark, moderate yellow. Relative luminance 0.046; OKLCH L 35.4% C 0.080 H 119.3°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#374104
RGBrgb(55, 65, 4)
HSLhsl(70, 88%, 14%)
HSVhsv(70, 94%, 25%)
CMYKcmyk(15.4%, 0%, 93.8%, 74.5%)
CIE-LABlab(25.57, -13.02, 32.36)
CIE-LCHlch(25.57, 34.89, 111.92°)
OKLaboklab(35.39% -0.0393 0.07)
OKLCHoklch(35.39% 0.08 119.3)
XYZxyz(3.4878, 4.6016, 0.8193)
Luminance0.0460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374104 #0E0441
analogous
#412C04 #374104 #184104
triadic
#374104 #043741 #410437
tetradic
#374104 #04412C #0E0441 #410418
square
#374104 #04412C #0E0441 #410418
split-complementary
#374104 #041841 #2C0441
monochromatic
#181D02 #181D02 #374104 #687B08 #99B40B

Accessibility & contrast

On white

10.94
#374104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#374104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374104
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374104#FFFFFF#000000##FFFFFF
##3741041.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#453D0A
Tritanopia (blue-blind)
#3B3D36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #374104;
/* rgb */ color: rgb(55, 65, 4);
/* oklch */ color: oklch(35.4% 0.080 119.3);
Tailwind
colors: {
  custom: {
    50: '#70754b',
    500: '#374104',
    950: '#000000',
  },
}
SCSS
$custom: #374104;
$custom-light: #70754b;
$custom-dark: #000000;
JSON
{
  "hex": "#374104",
  "rgb": {
    "r": 55,
    "g": 65,
    "b": 4
  },
  "hsl": {
    "h": 69.836,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.35392,
    "c": 0.0803,
    "h": 119.3
  },
  "luminance": 0.04602
}

Semantic roles & 50–950 ramp

primary
#374104
secondary
#2F1F82
accent
#29FF4C
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080801
muted
#7B7B77

Preview Lab

Preview with #374104

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

Preview Lab → · Contrast checker → · Palette generator →

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