#B4B239#B4B239

#B4B239 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.3% C 0.139 H 108.4°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#B4B239
RGBrgb(180, 178, 57)
HSLhsl(59, 52%, 46%)
HSVhsv(59, 68%, 71%)
CMYKcmyk(0%, 1.1%, 68.3%, 29.4%)
CIE-LABlab(70.76, -13.95, 59.12)
CIE-LCHlch(70.76, 60.74, 103.27°)
OKLaboklab(74.31% -0.044 0.1322)
OKLCHoklch(74.31% 0.139 108.4)
XYZxyz(35.4826, 41.8406, 10.0771)
Luminance0.4184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B239 #393BB4
analogous
#B47539 #B4B239 #79B439
triadic
#B4B239 #39B4B2 #B239B4
tetradic
#B4B239 #39B475 #393BB4 #B43979
square
#B4B239 #39B475 #393BB4 #B43979
split-complementary
#B4B239 #3979B4 #7539B4
monochromatic
#57561C #86842A #B4B239 #CCCA5E #DBDA8D

Accessibility & contrast

On white

2.24
#B4B239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#B4B239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B239
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B239#FFFFFF#000000##000000
##B4B2391.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB27
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#C1A79A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b4b239;
/* rgb */ color: rgb(180, 178, 57);
/* oklch */ color: oklch(74.3% 0.139 108.4);
Tailwind
colors: {
  custom: {
    50: '#cec877',
    500: '#b4b239',
    950: '#000000',
  },
}
SCSS
$custom: #b4b239;
$custom-light: #cec877;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b239",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 59.024,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74314,
    "c": 0.1393,
    "h": 108.4
  },
  "luminance": 0.41839
}

Semantic roles & 50–950 ramp

primary
#B4B239
secondary
#8385C5
accent
#4FDB4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B239

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

Preview Lab → · Contrast checker → · Palette generator →

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