#C4BA3E#C4BA3E

#C4BA3E 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#C4BA3E
RGBrgb(196, 186, 62)
HSLhsl(56, 53%, 51%)
HSVhsv(56, 68%, 77%)
CMYKcmyk(0%, 5.1%, 68.4%, 23.1%)
CIE-LABlab(74.32, -10.92, 61.19)
CIE-LCHlch(74.32, 62.16, 100.12°)
OKLaboklab(77.49% -0.0359 0.1369)
OKLCHoklch(77.49% 0.142 104.7)
XYZxyz(41.1950, 47.2029, 11.4976)
Luminance0.4720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BA3E #3E48C4
analogous
#C4773E #C4BA3E #8BC43E
triadic
#C4BA3E #3EC4BA #BA3EC4
tetradic
#C4BA3E #3EC477 #3E48C4 #C43E8B
square
#C4BA3E #3EC477 #3E48C4 #C43E8B
split-complementary
#C4BA3E #3E8BC4 #773EC4
monochromatic
#686220 #978F2E #C4BA3E #D2CB6D #E1DC9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4BA3E#FFFFFF#000000##000000
##C4BA3E1.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)
#CAB42C
Deuteranopia (green-blind)
#CEB946
Tritanopia (blue-blind)
#D2AEA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c4ba3e;
/* rgb */ color: rgb(196, 186, 62);
/* oklch */ color: oklch(77.5% 0.141 104.7);
Tailwind
colors: {
  custom: {
    50: '#d9ce7a',
    500: '#c4ba3e',
    950: '#000000',
  },
}
SCSS
$custom: #c4ba3e;
$custom-light: #d9ce7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ba3e",
  "rgb": {
    "r": 196,
    "g": 186,
    "b": 62
  },
  "hsl": {
    "h": 55.522,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77487,
    "c": 0.1415,
    "h": 104.7
  },
  "luminance": 0.47201
}

Semantic roles & 50–950 ramp

primary
#C4BA3E
secondary
#9196CD
accent
#56DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4BA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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