#B2B13F#B2B13F

#B2B13F 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.25:1 contrast (WCAG AA passes).

Color values

HEX#B2B13F
RGBrgb(178, 177, 63)
HSLhsl(59, 48%, 47%)
HSVhsv(59, 65%, 70%)
CMYKcmyk(0%, 0.6%, 64.6%, 30.2%)
CIE-LABlab(70.36, -13.94, 56.25)
CIE-LCHlch(70.36, 57.96, 103.92°)
OKLaboklab(73.97% -0.0433 0.1272)
OKLCHoklch(73.97% 0.134 108.8)
XYZxyz(34.9806, 41.2692, 10.8247)
Luminance0.4127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B13F #3F40B2
analogous
#B2773F #B2B13F #7AB23F
triadic
#B2B13F #3FB2B1 #B13FB2
tetradic
#B2B13F #3FB277 #3F40B2 #B23F7A
square
#B2B13F #3FB277 #3F40B2 #B23F7A
split-complementary
#B2B13F #3F7AB2 #773FB2
monochromatic
#58571F #85842F #B2B13F #C9C866 #D9D893

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B13F#FFFFFF#000000##000000
##B2B13F1.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)
#BFAA30
Deuteranopia (green-blind)
#C1AE46
Tritanopia (blue-blind)
#BEA69A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b13f;
/* rgb */ color: rgb(178, 177, 63);
/* oklch */ color: oklch(74.0% 0.134 108.8);
Tailwind
colors: {
  custom: {
    50: '#ccc87a',
    500: '#b2b13f',
    950: '#000000',
  },
}
SCSS
$custom: #b2b13f;
$custom-light: #ccc87a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b13f",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 63
  },
  "hsl": {
    "h": 59.478,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73971,
    "c": 0.13431,
    "h": 108.8
  },
  "luminance": 0.41268
}

Semantic roles & 50–950 ramp

primary
#B2B13F
secondary
#8989C4
accent
#52D750
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B13F

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

Preview Lab → · Contrast checker → · Palette generator →

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