#B7C02F#B7C02F

#B7C02F is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.6% C 0.159 H 113.2°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#B7C02F
RGBrgb(183, 192, 47)
HSLhsl(64, 61%, 47%)
HSVhsv(64, 76%, 75%)
CMYKcmyk(4.7%, 0%, 75.5%, 24.7%)
CIE-LABlab(74.81, -20.21, 66.63)
CIE-LCHlch(74.81, 69.63, 106.87°)
OKLaboklab(77.59% -0.0626 0.1462)
OKLCHoklch(77.59% 0.159 113.2)
XYZxyz(38.8924, 47.9727, 9.8996)
Luminance0.4797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C02F #382FC0
analogous
#C0812F #B7C02F #6FC02F
triadic
#B7C02F #2FB7C0 #C02FB7
tetradic
#B7C02F #2FC081 #382FC0 #C02F6F
square
#B7C02F #2FC081 #382FC0 #C02F6F
split-complementary
#B7C02F #2F6FC0 #812FC0
monochromatic
#595E17 #888F23 #B7C02F #CED656 #DCE288

Accessibility & contrast

On white

1.98
#B7C02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#B7C02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C02F
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C02F#FFFFFF#000000##000000
##B7C02F1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB709
Deuteranopia (green-blind)
#CFBA3C
Tritanopia (blue-blind)
#C4B4A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7c02f;
/* rgb */ color: rgb(183, 192, 47);
/* oklch */ color: oklch(77.6% 0.159 113.2);
Tailwind
colors: {
  custom: {
    50: '#d0d273',
    500: '#b7c02f',
    950: '#000000',
  },
}
SCSS
$custom: #b7c02f;
$custom-light: #d0d273;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c02f",
  "rgb": {
    "r": 183,
    "g": 192,
    "b": 47
  },
  "hsl": {
    "h": 63.724,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7759,
    "c": 0.15902,
    "h": 113.2
  },
  "luminance": 0.47972
}

Semantic roles & 50–950 ramp

primary
#B7C02F
secondary
#847FCB
accent
#44E44E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C02F

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

Preview Lab → · Contrast checker → · Palette generator →

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