#B4B262#B4B262

#B4B262 is a light, moderate yellow. Relative luminance 0.424; OKLCH L 74.8% C 0.103 H 107.4°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#B4B262
RGBrgb(180, 178, 98)
HSLhsl(59, 35%, 55%)
HSVhsv(59, 46%, 71%)
CMYKcmyk(0%, 1.1%, 45.6%, 29.4%)
CIE-LABlab(71.16, -10.80, 40.93)
CIE-LCHlch(71.16, 42.33, 104.77°)
OKLaboklab(74.77% -0.0307 0.0981)
OKLCHoklch(74.77% 0.103 107.4)
XYZxyz(36.9481, 42.4268, 17.7958)
Luminance0.4243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B262 #6264B4
analogous
#B48962 #B4B262 #8DB462
triadic
#B4B262 #62B4B2 #B262B4
tetradic
#B4B262 #62B489 #6264B4 #B4628D
square
#B4B262 #62B489 #6264B4 #B4628D
split-complementary
#B4B262 #628DB4 #8962B4
monochromatic
#696832 #939146 #B4B262 #C8C68B #DCDBB5

Accessibility & contrast

On white

2.21
#B4B262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#B4B262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B262
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B262#FFFFFF#000000##000000
##B4B2621.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAC5B
Deuteranopia (green-blind)
#BFB066
Tritanopia (blue-blind)
#BEA99F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b262;
/* rgb */ color: rgb(180, 178, 98);
/* oklch */ color: oklch(74.8% 0.103 107.4);
Tailwind
colors: {
  custom: {
    50: '#ccc890',
    500: '#b4b262',
    950: '#000000',
  },
}
SCSS
$custom: #b4b262;
$custom-light: #ccc890;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b262",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 58.537,
    "s": 35.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.74765,
    "c": 0.10276,
    "h": 107.4
  },
  "luminance": 0.42426
}

Semantic roles & 50–950 ramp

primary
#B4B262
secondary
#A8A8CA
accent
#5FCB5C
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130D
muted
#82827D

Preview Lab

Preview with #B4B262

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

Preview Lab → · Contrast checker → · Palette generator →

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