#B7C238#B7C238

#B7C238 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.1% C 0.156 H 114.0°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#B7C238
RGBrgb(183, 194, 56)
HSLhsl(65, 55%, 49%)
HSVhsv(65, 71%, 76%)
CMYKcmyk(5.7%, 0%, 71.1%, 23.9%)
CIE-LABlab(75.41, -20.78, 64.17)
CIE-LCHlch(75.41, 67.45, 107.94°)
OKLaboklab(78.09% -0.0634 0.1425)
OKLCHoklch(78.09% 0.156 114)
XYZxyz(39.5352, 48.9372, 11.1038)
Luminance0.4894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C238 #4338C2
analogous
#C28838 #B7C238 #72C238
triadic
#B7C238 #38B7C2 #C238B7
tetradic
#B7C238 #38C288 #4338C2 #C23872
square
#B7C238 #38C288 #4338C2 #C23872
split-complementary
#B7C238 #3872C2 #8838C2
monochromatic
#5D631D #8A932A #B7C238 #CAD265 #DAE094

Accessibility & contrast

On white

1.95
#B7C238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#B7C238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C238
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C238#FFFFFF#000000##000000
##B7C2381.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B91F
Deuteranopia (green-blind)
#D0BB43
Tritanopia (blue-blind)
#C3B7A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b7c238;
/* rgb */ color: rgb(183, 194, 56);
/* oklch */ color: oklch(78.1% 0.156 114.0);
Tailwind
colors: {
  custom: {
    50: '#d0d478',
    500: '#b7c238',
    950: '#000000',
  },
}
SCSS
$custom: #b7c238;
$custom-light: #d0d478;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c238",
  "rgb": {
    "r": 183,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 64.783,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7809,
    "c": 0.156,
    "h": 114
  },
  "luminance": 0.48936
}

Semantic roles & 50–950 ramp

primary
#B7C238
secondary
#908ACB
accent
#49DF55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C238

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

Preview Lab → · Contrast checker → · Palette generator →

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