#C3BA3F#C3BA3F

#C3BA3F is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.4% C 0.141 H 105.1°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#C3BA3F
RGBrgb(195, 186, 63)
HSLhsl(56, 52%, 51%)
HSVhsv(56, 68%, 76%)
CMYKcmyk(0%, 4.6%, 67.7%, 23.5%)
CIE-LABlab(74.24, -11.29, 60.69)
CIE-LCHlch(74.24, 61.73, 100.54°)
OKLaboklab(77.41% -0.0368 0.136)
OKLCHoklch(77.41% 0.141 105.1)
XYZxyz(40.9634, 47.0803, 11.6313)
Luminance0.4708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3BA3F #3F48C3
analogous
#C3783F #C3BA3F #8AC33F
triadic
#C3BA3F #3FC3BA #BA3FC3
tetradic
#C3BA3F #3FC378 #3F48C3 #C33F8A
square
#C3BA3F #3FC378 #3F48C3 #C33F8A
split-complementary
#C3BA3F #3F8AC3 #783FC3
monochromatic
#676220 #968F2F #C3BA3F #D2CB6E #E0DC9C

Accessibility & contrast

On white

2.02
#C3BA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#C3BA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3BA3F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3BA3F#FFFFFF#000000##000000
##C3BA3F1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB32D
Deuteranopia (green-blind)
#CDB947
Tritanopia (blue-blind)
#D1AEA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c3ba3f;
/* rgb */ color: rgb(195, 186, 63);
/* oklch */ color: oklch(77.4% 0.141 105.1);
Tailwind
colors: {
  custom: {
    50: '#d8ce7b',
    500: '#c3ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #c3ba3f;
$custom-light: #d8ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ba3f",
  "rgb": {
    "r": 195,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 55.909,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77406,
    "c": 0.1409,
    "h": 105.1
  },
  "luminance": 0.47079
}

Semantic roles & 50–950 ramp

primary
#C3BA3F
secondary
#9296CC
accent
#56DC4C
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C3BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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