#B7C338#B7C338

#B7C338 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.3% C 0.157 H 114.4°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#B7C338
RGBrgb(183, 195, 56)
HSLhsl(65, 55%, 49%)
HSVhsv(65, 71%, 76%)
CMYKcmyk(6.2%, 0%, 71.3%, 23.5%)
CIE-LABlab(75.69, -21.27, 64.44)
CIE-LCHlch(75.69, 67.86, 108.27°)
OKLaboklab(78.31% -0.0648 0.1431)
OKLCHoklch(78.31% 0.157 114.4)
XYZxyz(39.7585, 49.3838, 11.1782)
Luminance0.4938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C338 #4438C3
analogous
#C38A38 #B7C338 #72C338
triadic
#B7C338 #38B7C3 #C338B7
tetradic
#B7C338 #38C38A #4438C3 #C33872
square
#B7C338 #38C38A #4438C3 #C33872
split-complementary
#B7C338 #3872C3 #8A38C3
monochromatic
#5E641D #8A932A #B7C338 #C9D365 #DAE195

Accessibility & contrast

On white

1.93
#B7C338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#B7C338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C338
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C338#FFFFFF#000000##000000
##B7C3381.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91F
Deuteranopia (green-blind)
#D1BC43
Tritanopia (blue-blind)
#C3B8A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b7c338;
/* rgb */ color: rgb(183, 195, 56);
/* oklch */ color: oklch(78.3% 0.157 114.4);
Tailwind
colors: {
  custom: {
    50: '#d0d578',
    500: '#b7c338',
    950: '#000000',
  },
}
SCSS
$custom: #b7c338;
$custom-light: #d0d578;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c338",
  "rgb": {
    "r": 183,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 65.18,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78313,
    "c": 0.15708,
    "h": 114.4
  },
  "luminance": 0.49383
}

Semantic roles & 50–950 ramp

primary
#B7C338
secondary
#918BCC
accent
#49DF56
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B7C338

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

Preview Lab → · Contrast checker → · Palette generator →

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