#B7C12E#B7C12E

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

Color values

HEX#B7C12E
RGBrgb(183, 193, 46)
HSLhsl(64, 62%, 47%)
HSVhsv(64, 76%, 76%)
CMYKcmyk(5.2%, 0%, 76.2%, 24.3%)
CIE-LABlab(75.08, -20.75, 67.20)
CIE-LCHlch(75.08, 70.33, 107.16°)
OKLaboklab(77.81% -0.0642 0.1472)
OKLCHoklch(77.81% 0.161 113.6)
XYZxyz(39.0928, 48.4053, 9.8681)
Luminance0.4840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C12E #382EC1
analogous
#C1822E #B7C12E #6DC12E
triadic
#B7C12E #2EB7C1 #C12EB7
tetradic
#B7C12E #2EC182 #382EC1 #C12E6D
square
#B7C12E #2EC182 #382EC1 #C12E6D
split-complementary
#B7C12E #2E6DC1 #822EC1
monochromatic
#595E16 #889022 #B7C12E #CED756 #DCE287

Accessibility & contrast

On white

1.97
#B7C12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#B7C12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C12E
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C12E#FFFFFF#000000##000000
##B7C12E1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7c12e;
/* rgb */ color: rgb(183, 193, 46);
/* oklch */ color: oklch(77.8% 0.161 113.6);
Tailwind
colors: {
  custom: {
    50: '#d0d373',
    500: '#b7c12e',
    950: '#000000',
  },
}
SCSS
$custom: #b7c12e;
$custom-light: #d0d373;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c12e",
  "rgb": {
    "r": 183,
    "g": 193,
    "b": 46
  },
  "hsl": {
    "h": 64.082,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77806,
    "c": 0.16059,
    "h": 113.6
  },
  "luminance": 0.48404
}

Semantic roles & 50–950 ramp

primary
#B7C12E
secondary
#847FCC
accent
#43E54E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C12E

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

Preview Lab → · Contrast checker → · Palette generator →

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