#C3B126#C3B126

#C3B126 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.3% C 0.148 H 101.4°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#C3B126
RGBrgb(195, 177, 38)
HSLhsl(53, 67%, 46%)
HSVhsv(53, 81%, 76%)
CMYKcmyk(0%, 9.2%, 80.5%, 23.5%)
CIE-LABlab(71.68, -7.74, 66.93)
CIE-LCHlch(71.68, 67.38, 96.59°)
OKLaboklab(75.33% -0.0291 0.1447)
OKLCHoklch(75.33% 0.148 101.4)
XYZxyz(38.5796, 43.1882, 8.1374)
Luminance0.4319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3B126 #2638C3
analogous
#C36226 #C3B126 #86C326
triadic
#C3B126 #26C3B1 #B126C3
tetradic
#C3B126 #26C362 #2638C3 #C32686
square
#C3B126 #26C362 #2638C3 #C32686
split-complementary
#C3B126 #2686C3 #6226C3
monochromatic
#5D5412 #90831C #C3B126 #DCCB4A #E6DA7E

Accessibility & contrast

On white

2.18
#C3B126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#C3B126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3B126
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3B126#FFFFFF#000000##000000
##C3B1261.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC00
Deuteranopia (green-blind)
#C8B331
Tritanopia (blue-blind)
#D3A498
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c3b126;
/* rgb */ color: rgb(195, 177, 38);
/* oklch */ color: oklch(75.3% 0.148 101.4);
Tailwind
colors: {
  custom: {
    50: '#d9c76e',
    500: '#c3b126',
    950: '#000000',
  },
}
SCSS
$custom: #c3b126;
$custom-light: #d9c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#c3b126",
  "rgb": {
    "r": 195,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 53.121,
    "s": 67.382,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75326,
    "c": 0.14757,
    "h": 101.4
  },
  "luminance": 0.43186
}

Semantic roles & 50–950 ramp

primary
#C3B126
secondary
#7781CE
accent
#51EA3E
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C3B126

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

Preview Lab → · Contrast checker → · Palette generator →

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