#B7C138#B7C138

#B7C138 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.9% C 0.155 H 113.6°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#B7C138
RGBrgb(183, 193, 56)
HSLhsl(64, 55%, 49%)
HSVhsv(64, 71%, 76%)
CMYKcmyk(5.2%, 0%, 71%, 24.3%)
CIE-LABlab(75.14, -20.29, 63.90)
CIE-LCHlch(75.14, 67.04, 107.61°)
OKLaboklab(77.87% -0.062 0.142)
OKLCHoklch(77.87% 0.155 113.6)
XYZxyz(39.3134, 48.4935, 11.0298)
Luminance0.4849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C138 #4238C1
analogous
#C18738 #B7C138 #73C138
triadic
#B7C138 #38B7C1 #C138B7
tetradic
#B7C138 #38C187 #4238C1 #C13873
square
#B7C138 #38C187 #4238C1 #C13873
split-complementary
#B7C138 #3873C1 #8738C1
monochromatic
#5D621C #8A922A #B7C138 #CAD264 #DAE094

Accessibility & contrast

On white

1.96
#B7C138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#B7C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C138
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C138#FFFFFF#000000##000000
##B7C1381.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB820
Deuteranopia (green-blind)
#CFBA43
Tritanopia (blue-blind)
#C3B6A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b7c138;
/* rgb */ color: rgb(183, 193, 56);
/* oklch */ color: oklch(77.9% 0.155 113.6);
Tailwind
colors: {
  custom: {
    50: '#d0d378',
    500: '#b7c138',
    950: '#000000',
  },
}
SCSS
$custom: #b7c138;
$custom-light: #d0d378;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c138",
  "rgb": {
    "r": 183,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 64.38,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77868,
    "c": 0.15493,
    "h": 113.6
  },
  "luminance": 0.48493
}

Semantic roles & 50–950 ramp

primary
#B7C138
secondary
#8F8ACB
accent
#49DE54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C138

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

Preview Lab → · Contrast checker → · Palette generator →

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