#C3B040#C3B040

#C3B040 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.3% C 0.131 H 99.6°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#C3B040
RGBrgb(195, 176, 64)
HSLhsl(51, 52%, 51%)
HSVhsv(51, 67%, 76%)
CMYKcmyk(0%, 9.7%, 67.2%, 23.5%)
CIE-LABlab(71.57, -6.05, 57.55)
CIE-LCHlch(71.57, 57.87, 96.00°)
OKLaboklab(75.29% -0.0218 0.1296)
OKLCHoklch(75.29% 0.131 99.6)
XYZxyz(38.9581, 43.0247, 11.1020)
Luminance0.4302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3B040 #4053C3
analogous
#C36E40 #C3B040 #94C340
triadic
#C3B040 #40C3B0 #B040C3
tetradic
#C3B040 #40C36E #4053C3 #C34094
square
#C3B040 #40C36E #4053C3 #C34094
split-complementary
#C3B040 #4094C3 #6E40C3
monochromatic
#685E21 #97882F #C3B040 #D2C36F #E0D79D

Accessibility & contrast

On white

2.19
#C3B040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#C3B040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3B040
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3B040#FFFFFF#000000##000000
##C3B0401.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#C6B246
Tritanopia (blue-blind)
#D2A499
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c3b040;
/* rgb */ color: rgb(195, 176, 64);
/* oklch */ color: oklch(75.3% 0.131 99.6);
Tailwind
colors: {
  custom: {
    50: '#d8c77b',
    500: '#c3b040',
    950: '#000000',
  },
}
SCSS
$custom: #c3b040;
$custom-light: #d8c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#c3b040",
  "rgb": {
    "r": 195,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 51.298,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75288,
    "c": 0.13137,
    "h": 99.6
  },
  "luminance": 0.43023
}

Semantic roles & 50–950 ramp

primary
#C3B040
secondary
#929BCC
accent
#61DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C3B040

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

Preview Lab → · Contrast checker → · Palette generator →

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