#C4BA3F#C4BA3F

#C4BA3F is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.5% C 0.141 H 104.7°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#C4BA3F
RGBrgb(196, 186, 63)
HSLhsl(55, 53%, 51%)
HSVhsv(55, 68%, 77%)
CMYKcmyk(0%, 5.1%, 67.9%, 23.1%)
CIE-LABlab(74.33, -10.86, 60.80)
CIE-LCHlch(74.33, 61.77, 100.13°)
OKLaboklab(77.5% -0.0356 0.1362)
OKLCHoklch(77.5% 0.141 104.7)
XYZxyz(41.2227, 47.2140, 11.6435)
Luminance0.4721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BA3F #3F49C4
analogous
#C4773F #C4BA3F #8BC43F
triadic
#C4BA3F #3FC4BA #BA3FC4
tetradic
#C4BA3F #3FC477 #3F49C4 #C43F8B
square
#C4BA3F #3FC477 #3F49C4 #C43F8B
split-complementary
#C4BA3F #3F8BC4 #773FC4
monochromatic
#686320 #978F2E #C4BA3F #D2CB6E #E1DC9D

Accessibility & contrast

On white

2.01
#C4BA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#C4BA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BA3F
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BA3F#FFFFFF#000000##000000
##C4BA3F1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB42D
Deuteranopia (green-blind)
#CEB947
Tritanopia (blue-blind)
#D2AEA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c4ba3f;
/* rgb */ color: rgb(196, 186, 63);
/* oklch */ color: oklch(77.5% 0.141 104.7);
Tailwind
colors: {
  custom: {
    50: '#d9ce7b',
    500: '#c4ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #c4ba3f;
$custom-light: #d9ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ba3f",
  "rgb": {
    "r": 196,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 55.489,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77495,
    "c": 0.1408,
    "h": 104.7
  },
  "luminance": 0.47212
}

Semantic roles & 50–950 ramp

primary
#C4BA3F
secondary
#9296CD
accent
#56DC4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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