#B3B127#B3B127

#B3B127 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.9% C 0.149 H 108.7°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#B3B127
RGBrgb(179, 177, 39)
HSLhsl(59, 64%, 43%)
HSVhsv(59, 78%, 70%)
CMYKcmyk(0%, 1.1%, 78.2%, 29.8%)
CIE-LABlab(70.30, -14.69, 64.88)
CIE-LCHlch(70.30, 66.53, 102.76°)
OKLaboklab(73.89% -0.0477 0.1412)
OKLCHoklch(73.89% 0.149 108.7)
XYZxyz(34.6801, 41.1756, 8.0399)
Luminance0.4117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B127 #2729B3
analogous
#B36B27 #B3B127 #6FB327
triadic
#B3B127 #27B3B1 #B127B3
tetradic
#B3B127 #27B36B #2729B3 #B3276F
square
#B3B127 #27B36B #2729B3 #B3276F
split-complementary
#B3B127 #276FB3 #6B27B3
monochromatic
#4E4E11 #817F1C #B3B127 #D6D441 #E1DF74

Accessibility & contrast

On white

2.27
#B3B127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#B3B127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B127
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B127#FFFFFF#000000##000000
##B3B1271.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C2AE33
Tritanopia (blue-blind)
#C0A598
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b3b127;
/* rgb */ color: rgb(179, 177, 39);
/* oklch */ color: oklch(73.9% 0.149 108.7);
Tailwind
colors: {
  custom: {
    50: '#cec86e',
    500: '#b3b127',
    950: '#000000',
  },
}
SCSS
$custom: #b3b127;
$custom-light: #cec86e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b127",
  "rgb": {
    "r": 179,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 59.143,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.73892,
    "c": 0.14901,
    "h": 108.7
  },
  "luminance": 0.41174
}

Semantic roles & 50–950 ramp

primary
#B3B127
secondary
#6E6FC8
accent
#43E741
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B127

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

Preview Lab → · Contrast checker → · Palette generator →

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