#B2B640#B2B640

#B2B640 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.1% C 0.139 H 111.2°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#B2B640
RGBrgb(178, 182, 64)
HSLhsl(62, 48%, 48%)
HSVhsv(62, 65%, 71%)
CMYKcmyk(2.2%, 0%, 64.8%, 28.6%)
CIE-LABlab(71.75, -16.43, 57.29)
CIE-LCHlch(71.75, 59.60, 106.00°)
OKLaboklab(75.08% -0.0502 0.1295)
OKLCHoklch(75.08% 0.139 111.2)
XYZxyz(36.0145, 43.2919, 11.3085)
Luminance0.4329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B640 #4440B6
analogous
#B67F40 #B2B640 #77B640
triadic
#B2B640 #40B2B6 #B640B2
tetradic
#B2B640 #40B67F #4440B6 #B64077
square
#B2B640 #40B67F #4440B6 #B64077
split-complementary
#B2B640 #4077B6 #7F40B6
monochromatic
#595B20 #868930 #B2B640 #C7CA69 #D8DA96

Accessibility & contrast

On white

2.17
#B2B640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#B2B640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B640
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B640#FFFFFF#000000##000000
##B2B6401.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE30
Deuteranopia (green-blind)
#C4B148
Tritanopia (blue-blind)
#BEAB9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b640;
/* rgb */ color: rgb(178, 182, 64);
/* oklch */ color: oklch(75.1% 0.139 111.2);
Tailwind
colors: {
  custom: {
    50: '#cccb7b',
    500: '#b2b640',
    950: '#000000',
  },
}
SCSS
$custom: #b2b640;
$custom-light: #cccb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b640",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 64
  },
  "hsl": {
    "h": 62.034,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.75083,
    "c": 0.13886,
    "h": 111.2
  },
  "luminance": 0.43291
}

Semantic roles & 50–950 ramp

primary
#B2B640
secondary
#8E8CC6
accent
#50D855
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B640

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

Preview Lab → · Contrast checker → · Palette generator →

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