#B7B243#B7B243

#B7B243 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.7% C 0.132 H 106.7°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#B7B243
RGBrgb(183, 178, 67)
HSLhsl(57, 46%, 49%)
HSVhsv(57, 63%, 72%)
CMYKcmyk(0%, 2.7%, 63.4%, 28.2%)
CIE-LABlab(71.09, -12.07, 55.46)
CIE-LCHlch(71.09, 56.76, 102.28°)
OKLaboklab(74.66% -0.0378 0.126)
OKLCHoklch(74.66% 0.132 106.7)
XYZxyz(36.4632, 42.3145, 11.5559)
Luminance0.4231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B243 #4348B7
analogous
#B77843 #B7B243 #82B743
triadic
#B7B243 #43B7B2 #B243B7
tetradic
#B7B243 #43B778 #4348B7 #B74382
square
#B7B243 #43B778 #4348B7 #B74382
split-complementary
#B7B243 #4382B7 #7843B7
monochromatic
#5D5B22 #8A8633 #B7B243 #CAC66D #DAD79A

Accessibility & contrast

On white

2.22
#B7B243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#B7B243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B243
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B243#FFFFFF#000000##000000
##B7B2431.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB35
Deuteranopia (green-blind)
#C3B04A
Tritanopia (blue-blind)
#C4A79B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b7b243;
/* rgb */ color: rgb(183, 178, 67);
/* oklch */ color: oklch(74.7% 0.132 106.7);
Tailwind
colors: {
  custom: {
    50: '#cfc87c',
    500: '#b7b243',
    950: '#000000',
  },
}
SCSS
$custom: #b7b243;
$custom-light: #cfc87c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b243",
  "rgb": {
    "r": 183,
    "g": 178,
    "b": 67
  },
  "hsl": {
    "h": 57.414,
    "s": 46.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74659,
    "c": 0.13151,
    "h": 106.7
  },
  "luminance": 0.42313
}

Semantic roles & 50–950 ramp

primary
#B7B243
secondary
#9092C6
accent
#57D652
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B7B243

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

Preview Lab → · Contrast checker → · Palette generator →

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