#C4BA23#C4BA23

#C4BA23 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.3% C 0.156 H 105.4°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#C4BA23
RGBrgb(196, 186, 35)
HSLhsl(56, 70%, 45%)
HSVhsv(56, 82%, 77%)
CMYKcmyk(0%, 5.1%, 82.1%, 23.1%)
CIE-LABlab(74.17, -12.04, 69.94)
CIE-LCHlch(74.17, 70.97, 99.76°)
OKLaboklab(77.33% -0.0414 0.1506)
OKLCHoklch(77.33% 0.156 105.4)
XYZxyz(40.6291, 46.9766, 8.5170)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BA23 #232DC4
analogous
#C46923 #C4BA23 #7EC423
triadic
#C4BA23 #23C4BA #BA23C4
tetradic
#C4BA23 #23C469 #232DC4 #C4237E
square
#C4BA23 #23C469 #232DC4 #C4237E
split-complementary
#C4BA23 #237EC4 #6923C4
monochromatic
#5C5710 #90891A #C4BA23 #DED546 #E7E07A

Accessibility & contrast

On white

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

On black

10.40
#C4BA23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BA23
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BA23#FFFFFF#000000##000000
##C4BA231.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CFB931
Tritanopia (blue-blind)
#D3AD9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c4ba23;
/* rgb */ color: rgb(196, 186, 35);
/* oklch */ color: oklch(77.3% 0.156 105.4);
Tailwind
colors: {
  custom: {
    50: '#dace6e',
    500: '#c4ba23',
    950: '#000000',
  },
}
SCSS
$custom: #c4ba23;
$custom-light: #dace6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ba23",
  "rgb": {
    "r": 196,
    "g": 186,
    "b": 35
  },
  "hsl": {
    "h": 56.273,
    "s": 69.697,
    "l": 45.294
  },
  "oklch": {
    "l": 0.77326,
    "c": 0.15616,
    "h": 105.4
  },
  "luminance": 0.46975
}

Semantic roles & 50–950 ramp

primary
#C4BA23
secondary
#7479CF
accent
#46ED3B
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C4BA23

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

Preview Lab → · Contrast checker → · Palette generator →

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