#B2B34E#B2B34E

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

Color values

HEX#B2B34E
RGBrgb(178, 179, 78)
HSLhsl(61, 40%, 50%)
HSVhsv(61, 56%, 70%)
CMYKcmyk(0.6%, 0%, 56.4%, 29.8%)
CIE-LABlab(71.05, -13.92, 50.42)
CIE-LCHlch(71.05, 52.30, 105.44°)
OKLaboklab(74.56% -0.0416 0.1168)
OKLCHoklch(74.56% 0.124 109.6)
XYZxyz(35.8563, 42.2561, 13.4737)
Luminance0.4225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B34E #4F4EB3
analogous
#B3814E #B2B34E #7FB34E
triadic
#B2B34E #4EB2B3 #B34EB2
tetradic
#B2B34E #4EB381 #4F4EB3 #B34E7F
square
#B2B34E #4EB381 #4F4EB3 #B34E7F
split-complementary
#B2B34E #4E7FB3 #814EB3
monochromatic
#5E5E28 #88893B #B2B34E #C5C579 #D7D8A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B34E#FFFFFF#000000##000000
##B2B34E1.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)
#C0AC43
Deuteranopia (green-blind)
#C1B054
Tritanopia (blue-blind)
#BDA99D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b34e;
/* rgb */ color: rgb(178, 179, 78);
/* oklch */ color: oklch(74.6% 0.124 109.6);
Tailwind
colors: {
  custom: {
    50: '#cbc983',
    500: '#b2b34e',
    950: '#000000',
  },
}
SCSS
$custom: #b2b34e;
$custom-light: #cbc983;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b34e",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 78
  },
  "hsl": {
    "h": 60.594,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74559,
    "c": 0.12401,
    "h": 109.6
  },
  "luminance": 0.42255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2B34E

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

Preview Lab → · Contrast checker → · Palette generator →

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