#B7C438#B7C438

#B7C438 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.5% C 0.158 H 114.7°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#B7C438
RGBrgb(183, 196, 56)
HSLhsl(66, 56%, 49%)
HSVhsv(66, 71%, 77%)
CMYKcmyk(6.6%, 0%, 71.4%, 23.1%)
CIE-LABlab(75.97, -21.77, 64.71)
CIE-LCHlch(75.97, 68.27, 108.59°)
OKLaboklab(78.54% -0.0661 0.1437)
OKLCHoklch(78.54% 0.158 114.7)
XYZxyz(39.9833, 49.8334, 11.2532)
Luminance0.4983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C438 #4538C4
analogous
#C48B38 #B7C438 #71C438
triadic
#B7C438 #38B7C4 #C438B7
tetradic
#B7C438 #38C48B #4538C4 #C43871
square
#B7C438 #38C48B #4538C4 #C43871
split-complementary
#B7C438 #3871C4 #8B38C4
monochromatic
#5E651D #8B942A #B7C438 #C9D366 #DAE196

Accessibility & contrast

On white

1.91
#B7C438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#B7C438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C438
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C438#FFFFFF#000000##000000
##B7C4381.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1E
Deuteranopia (green-blind)
#D1BC43
Tritanopia (blue-blind)
#C3B9A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b7c438;
/* rgb */ color: rgb(183, 196, 56);
/* oklch */ color: oklch(78.5% 0.158 114.7);
Tailwind
colors: {
  custom: {
    50: '#d0d578',
    500: '#b7c438',
    950: '#000000',
  },
}
SCSS
$custom: #b7c438;
$custom-light: #d0d578;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c438",
  "rgb": {
    "r": 183,
    "g": 196,
    "b": 56
  },
  "hsl": {
    "h": 65.571,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78535,
    "c": 0.15817,
    "h": 114.7
  },
  "luminance": 0.49833
}

Semantic roles & 50–950 ramp

primary
#B7C438
secondary
#928CCC
accent
#49DF57
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B7C438

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

Preview Lab → · Contrast checker → · Palette generator →

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