#B2B13E#B2B13E

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

Color values

HEX#B2B13E
RGBrgb(178, 177, 62)
HSLhsl(59, 48%, 47%)
HSVhsv(59, 65%, 70%)
CMYKcmyk(0%, 0.6%, 65.2%, 30.2%)
CIE-LABlab(70.36, -14.00, 56.66)
CIE-LCHlch(70.36, 58.36, 103.88°)
OKLaboklab(73.96% -0.0435 0.1278)
OKLCHoklch(73.96% 0.135 108.8)
XYZxyz(34.9529, 41.2581, 10.6789)
Luminance0.4126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B13E #3E3FB2
analogous
#B2773E #B2B13E #79B23E
triadic
#B2B13E #3EB2B1 #B13EB2
tetradic
#B2B13E #3EB277 #3E3FB2 #B23E79
square
#B2B13E #3EB277 #3E3FB2 #B23E79
split-complementary
#B2B13E #3E79B2 #773EB2
monochromatic
#57571E #85842E #B2B13E #C9C864 #D9D892

Accessibility & contrast

On white

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

On black

9.25
#B2B13E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B13E
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B13E#FFFFFF#000000##000000
##B2B13E1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2E
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#BEA699
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b13e;
/* rgb */ color: rgb(178, 177, 62);
/* oklch */ color: oklch(74.0% 0.135 108.8);
Tailwind
colors: {
  custom: {
    50: '#ccc879',
    500: '#b2b13e',
    950: '#000000',
  },
}
SCSS
$custom: #b2b13e;
$custom-light: #ccc879;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b13e",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 62
  },
  "hsl": {
    "h": 59.483,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73963,
    "c": 0.13505,
    "h": 108.8
  },
  "luminance": 0.41257
}

Semantic roles & 50–950 ramp

primary
#B2B13E
secondary
#8888C4
accent
#51D850
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B2B13E

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

Preview Lab → · Contrast checker → · Palette generator →

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