#B6B438#B6B438

#B6B438 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.9% C 0.142 H 108.5°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#B6B438
RGBrgb(182, 180, 56)
HSLhsl(59, 53%, 47%)
HSVhsv(59, 69%, 71%)
CMYKcmyk(0%, 1.1%, 69.2%, 28.6%)
CIE-LABlab(71.47, -14.17, 60.27)
CIE-LCHlch(71.47, 61.91, 103.23°)
OKLaboklab(74.92% -0.0449 0.1343)
OKLCHoklch(74.92% 0.142 108.5)
XYZxyz(36.3278, 42.8743, 10.1026)
Luminance0.4287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B438 #383AB6
analogous
#B67538 #B6B438 #79B638
triadic
#B6B438 #38B6B4 #B438B6
tetradic
#B6B438 #38B675 #383AB6 #B63879
square
#B6B438 #38B675 #383AB6 #B63879
split-complementary
#B6B438 #3879B6 #7538B6
monochromatic
#58571B #87862A #B6B438 #CDCC5E #DCDB8D

Accessibility & contrast

On white

2.19
#B6B438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#B6B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B438
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B438#FFFFFF#000000##000000
##B6B4381.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD24
Deuteranopia (green-blind)
#C5B141
Tritanopia (blue-blind)
#C3A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b6b438;
/* rgb */ color: rgb(182, 180, 56);
/* oklch */ color: oklch(74.9% 0.142 108.5);
Tailwind
colors: {
  custom: {
    50: '#cfca76',
    500: '#b6b438',
    950: '#000000',
  },
}
SCSS
$custom: #b6b438;
$custom-light: #cfca76;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b438",
  "rgb": {
    "r": 182,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 59.048,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74918,
    "c": 0.14163,
    "h": 108.5
  },
  "luminance": 0.42873
}

Semantic roles & 50–950 ramp

primary
#B6B438
secondary
#8485C6
accent
#4EDC4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6B438

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

Preview Lab → · Contrast checker → · Palette generator →

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