#B2B140#B2B140

#B2B140 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.0% C 0.134 H 108.8°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#B2B140
RGBrgb(178, 177, 64)
HSLhsl(59, 47%, 47%)
HSVhsv(59, 64%, 70%)
CMYKcmyk(0%, 0.6%, 64%, 30.2%)
CIE-LABlab(70.37, -13.88, 55.84)
CIE-LCHlch(70.37, 57.54, 103.96°)
OKLaboklab(73.98% -0.043 0.1264)
OKLCHoklch(73.98% 0.134 108.8)
XYZxyz(35.0088, 41.2804, 10.9733)
Luminance0.4128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B140 #4041B2
analogous
#B27840 #B2B140 #7AB240
triadic
#B2B140 #40B2B1 #B140B2
tetradic
#B2B140 #40B278 #4041B2 #B2407A
square
#B2B140 #40B278 #4041B2 #B2407A
split-complementary
#B2B140 #407AB2 #7840B2
monochromatic
#585720 #858430 #B2B140 #C8C767 #D8D894

Accessibility & contrast

On white

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

On black

9.26
#B2B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B140
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B140#FFFFFF#000000##000000
##B2B1401.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA31
Deuteranopia (green-blind)
#C1AE47
Tritanopia (blue-blind)
#BEA69A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b140;
/* rgb */ color: rgb(178, 177, 64);
/* oklch */ color: oklch(74.0% 0.134 108.8);
Tailwind
colors: {
  custom: {
    50: '#ccc87a',
    500: '#b2b140',
    950: '#000000',
  },
}
SCSS
$custom: #b2b140;
$custom-light: #ccc87a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b140",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 59.474,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7398,
    "c": 0.13355,
    "h": 108.8
  },
  "luminance": 0.41279
}

Semantic roles & 50–950 ramp

primary
#B2B140
secondary
#8A8AC4
accent
#52D751
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B140

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

Preview Lab → · Contrast checker → · Palette generator →

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