#B2B34F#B2B34F

#B2B34F is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.6% C 0.123 H 109.6°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#B2B34F
RGBrgb(178, 179, 79)
HSLhsl(61, 40%, 51%)
HSVhsv(61, 56%, 70%)
CMYKcmyk(0.6%, 0%, 55.9%, 29.8%)
CIE-LABlab(71.06, -13.84, 49.97)
CIE-LCHlch(71.06, 51.85, 105.49°)
OKLaboklab(74.57% -0.0412 0.116)
OKLCHoklch(74.57% 0.123 109.6)
XYZxyz(35.8924, 42.2706, 13.6639)
Luminance0.4227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B34F #504FB3
analogous
#B3824F #B2B34F #80B34F
triadic
#B2B34F #4FB2B3 #B34FB2
tetradic
#B2B34F #4FB382 #504FB3 #B34F80
square
#B2B34F #4FB382 #504FB3 #B34F80
split-complementary
#B2B34F #4F80B3 #824FB3
monochromatic
#5E5F29 #89893B #B2B34F #C5C57A #D7D8A4

Accessibility & contrast

On white

2.22
#B2B34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#B2B34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B34F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B34F#FFFFFF#000000##000000
##B2B34F1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC45
Deuteranopia (green-blind)
#C1B055
Tritanopia (blue-blind)
#BDA99D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b34f;
/* rgb */ color: rgb(178, 179, 79);
/* oklch */ color: oklch(74.6% 0.123 109.6);
Tailwind
colors: {
  custom: {
    50: '#cbc984',
    500: '#b2b34f',
    950: '#000000',
  },
}
SCSS
$custom: #b2b34f;
$custom-light: #cbc984;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b34f",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 79
  },
  "hsl": {
    "h": 60.6,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7457,
    "c": 0.1231,
    "h": 109.6
  },
  "luminance": 0.4227
}

Semantic roles & 50–950 ramp

primary
#B2B34F
secondary
#9999C5
accent
#58D059
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B34F

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

Preview Lab → · Contrast checker → · Palette generator →

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