#C7B326#C7B326

#C7B326 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.1% C 0.149 H 100.6°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#C7B326
RGBrgb(199, 179, 38)
HSLhsl(53, 68%, 46%)
HSVhsv(53, 81%, 78%)
CMYKcmyk(0%, 10.1%, 80.9%, 22%)
CIE-LABlab(72.58, -7.03, 67.85)
CIE-LCHlch(72.58, 68.22, 95.91°)
OKLaboklab(76.12% -0.0273 0.1465)
OKLCHoklch(76.12% 0.149 100.6)
XYZxyz(40.0252, 44.5242, 8.3191)
Luminance0.4452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B326 #263AC7
analogous
#C76326 #C7B326 #8AC726
triadic
#C7B326 #26C7B3 #B326C7
tetradic
#C7B326 #26C763 #263AC7 #C7268A
square
#C7B326 #26C763 #263AC7 #C7268A
split-complementary
#C7B326 #268AC7 #6326C7
monochromatic
#605712 #94851C #C7B326 #DDCB4D #E7DA81

Accessibility & contrast

On white

2.12
#C7B326 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#C7B326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B326
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B326#FFFFFF#000000##000000
##C7B3261.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#CAB532
Tritanopia (blue-blind)
#D7A599
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c7b326;
/* rgb */ color: rgb(199, 179, 38);
/* oklch */ color: oklch(76.1% 0.149 100.6);
Tailwind
colors: {
  custom: {
    50: '#dcc96e',
    500: '#c7b326',
    950: '#000000',
  },
}
SCSS
$custom: #c7b326;
$custom-light: #dcc96e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b326",
  "rgb": {
    "r": 199,
    "g": 179,
    "b": 38
  },
  "hsl": {
    "h": 52.547,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76122,
    "c": 0.14899,
    "h": 100.6
  },
  "luminance": 0.44522
}

Semantic roles & 50–950 ramp

primary
#C7B326
secondary
#7984CF
accent
#53EB3D
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C7B326

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

Preview Lab → · Contrast checker → · Palette generator →

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