#B3B027#B3B027

#B3B027 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.7% C 0.148 H 108.2°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#B3B027
RGBrgb(179, 176, 39)
HSLhsl(59, 64%, 43%)
HSVhsv(59, 78%, 70%)
CMYKcmyk(0%, 1.7%, 78.2%, 29.8%)
CIE-LABlab(70.02, -14.18, 64.64)
CIE-LCHlch(70.02, 66.17, 102.37°)
OKLaboklab(73.67% -0.0463 0.1406)
OKLCHoklch(73.67% 0.148 108.2)
XYZxyz(34.4833, 40.7820, 7.9743)
Luminance0.4078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B027 #272AB3
analogous
#B36A27 #B3B027 #70B327
triadic
#B3B027 #27B3B0 #B027B3
tetradic
#B3B027 #27B36A #272AB3 #B32770
square
#B3B027 #27B36A #272AB3 #B32770
split-complementary
#B3B027 #2770B3 #6A27B3
monochromatic
#4E4D11 #817F1C #B3B027 #D6D341 #E1DE74

Accessibility & contrast

On white

2.29
#B3B027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#B3B027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B027
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B027#FFFFFF#000000##000000
##B3B0271.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#C1AD33
Tritanopia (blue-blind)
#C0A497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b3b027;
/* rgb */ color: rgb(179, 176, 39);
/* oklch */ color: oklch(73.7% 0.148 108.2);
Tailwind
colors: {
  custom: {
    50: '#cec76e',
    500: '#b3b027',
    950: '#000000',
  },
}
SCSS
$custom: #b3b027;
$custom-light: #cec76e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b027",
  "rgb": {
    "r": 179,
    "g": 176,
    "b": 39
  },
  "hsl": {
    "h": 58.714,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.73672,
    "c": 0.14806,
    "h": 108.2
  },
  "luminance": 0.40781
}

Semantic roles & 50–950 ramp

primary
#B3B027
secondary
#6E70C8
accent
#44E741
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B027

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

Preview Lab → · Contrast checker → · Palette generator →

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