#B7C135#B7C135

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

Color values

HEX#B7C135
RGBrgb(183, 193, 53)
HSLhsl(64, 57%, 48%)
HSVhsv(64, 73%, 76%)
CMYKcmyk(5.2%, 0%, 72.5%, 24.3%)
CIE-LABlab(75.12, -20.43, 64.93)
CIE-LCHlch(75.12, 68.07, 107.47°)
OKLaboklab(77.85% -0.0627 0.1436)
OKLCHoklch(77.85% 0.157 113.6)
XYZxyz(39.2422, 48.4651, 10.6550)
Luminance0.4846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C135 #3F35C1
analogous
#C18535 #B7C135 #71C135
triadic
#B7C135 #35B7C1 #C135B7
tetradic
#B7C135 #35C185 #3F35C1 #C13571
square
#B7C135 #35C185 #3F35C1 #C13571
split-complementary
#B7C135 #3571C1 #8535C1
monochromatic
#5C611B #899128 #B7C135 #CBD360 #DBE090

Accessibility & contrast

On white

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

On black

10.69
#B7C135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C135
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C135#FFFFFF#000000##000000
##B7C1351.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB819
Deuteranopia (green-blind)
#CFBA40
Tritanopia (blue-blind)
#C3B5A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b7c135;
/* rgb */ color: rgb(183, 193, 53);
/* oklch */ color: oklch(77.8% 0.157 113.6);
Tailwind
colors: {
  custom: {
    50: '#d0d376',
    500: '#b7c135',
    950: '#000000',
  },
}
SCSS
$custom: #b7c135;
$custom-light: #d0d376;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c135",
  "rgb": {
    "r": 183,
    "g": 193,
    "b": 53
  },
  "hsl": {
    "h": 64.286,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77848,
    "c": 0.15674,
    "h": 113.6
  },
  "luminance": 0.48464
}

Semantic roles & 50–950 ramp

primary
#B7C135
secondary
#8B87CB
accent
#48E053
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C135

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

Preview Lab → · Contrast checker → · Palette generator →

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