#C7BF26#C7BF26

#C7BF26 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.7% C 0.159 H 106.3°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#C7BF26
RGBrgb(199, 191, 38)
HSLhsl(57, 68%, 46%)
HSVhsv(57, 81%, 78%)
CMYKcmyk(0%, 4%, 80.9%, 22%)
CIE-LABlab(75.79, -13.19, 70.64)
CIE-LCHlch(75.79, 71.86, 100.58°)
OKLaboklab(78.68% -0.0446 0.1525)
OKLCHoklch(78.68% 0.159 106.3)
XYZxyz(42.5357, 49.5453, 9.1560)
Luminance0.4954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF26 #262EC7
analogous
#C76F26 #C7BF26 #7FC726
triadic
#C7BF26 #26C7BF #BF26C7
tetradic
#C7BF26 #26C76F #262EC7 #C7267F
square
#C7BF26 #26C76F #262EC7 #C7267F
split-complementary
#C7BF26 #267FC7 #6F26C7
monochromatic
#605C12 #948E1C #C7BF26 #DDD64D #E7E281

Accessibility & contrast

On white

1.93
#C7BF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#C7BF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BF26
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BF26#FFFFFF#000000##000000
##C7BF261.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#D3BD34
Tritanopia (blue-blind)
#D6B2A4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c7bf26;
/* rgb */ color: rgb(199, 191, 38);
/* oklch */ color: oklch(78.7% 0.159 106.3);
Tailwind
colors: {
  custom: {
    50: '#dcd170',
    500: '#c7bf26',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf26;
$custom-light: #dcd170;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf26",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 38
  },
  "hsl": {
    "h": 57.019,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.78677,
    "c": 0.15887,
    "h": 106.3
  },
  "luminance": 0.49544
}

Semantic roles & 50–950 ramp

primary
#C7BF26
secondary
#797ECF
accent
#46EB3D
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161408
muted
#84827B

Preview Lab

Preview with #C7BF26

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

Preview Lab → · Contrast checker → · Palette generator →

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