#B7C12C#B7C12C

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

Color values

HEX#B7C12C
RGBrgb(183, 193, 44)
HSLhsl(64, 63%, 46%)
HSVhsv(64, 77%, 76%)
CMYKcmyk(5.2%, 0%, 77.2%, 24.3%)
CIE-LABlab(75.07, -20.83, 67.80)
CIE-LCHlch(75.07, 70.93, 107.08°)
OKLaboklab(77.8% -0.0646 0.1481)
OKLCHoklch(77.8% 0.162 113.6)
XYZxyz(39.0543, 48.3899, 9.6653)
Luminance0.4839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C12C #362CC1
analogous
#C1812C #B7C12C #6DC12C
triadic
#B7C12C #2CB7C1 #C12CB7
tetradic
#B7C12C #2CC181 #362CC1 #C12C6D
square
#B7C12C #2CC181 #362CC1 #C12C6D
split-complementary
#B7C12C #2C6DC1 #812CC1
monochromatic
#585D15 #888F21 #B7C12C #CFD853 #DDE384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7C12C#FFFFFF#000000##000000
##B7C12C1.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)
#D0B700
Deuteranopia (green-blind)
#CFBA3A
Tritanopia (blue-blind)
#C4B5A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b7c12c;
/* rgb */ color: rgb(183, 193, 44);
/* oklch */ color: oklch(77.8% 0.162 113.6);
Tailwind
colors: {
  custom: {
    50: '#d0d372',
    500: '#b7c12c',
    950: '#000000',
  },
}
SCSS
$custom: #b7c12c;
$custom-light: #d0d372;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c12c",
  "rgb": {
    "r": 183,
    "g": 193,
    "b": 44
  },
  "hsl": {
    "h": 64.027,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.77796,
    "c": 0.1616,
    "h": 113.6
  },
  "luminance": 0.48389
}

Semantic roles & 50–950 ramp

primary
#B7C12C
secondary
#827DCC
accent
#42E64D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C12C

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

Preview Lab → · Contrast checker → · Palette generator →

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