#C7BA44#C7BA44

#C7BA44 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.8% C 0.137 H 103.0°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#C7BA44
RGBrgb(199, 186, 68)
HSLhsl(54, 54%, 52%)
HSVhsv(54, 66%, 78%)
CMYKcmyk(0%, 6.5%, 65.8%, 22%)
CIE-LABlab(74.62, -9.30, 59.17)
CIE-LCHlch(74.62, 59.90, 98.93°)
OKLaboklab(77.8% -0.0308 0.1335)
OKLCHoklch(77.8% 0.137 103)
XYZxyz(42.1572, 47.6790, 12.4501)
Luminance0.4768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BA44 #4451C7
analogous
#C77944 #C7BA44 #92C744
triadic
#C7BA44 #44C7BA #BA44C7
tetradic
#C7BA44 #44C779 #4451C7 #C74492
square
#C7BA44 #44C779 #4451C7 #C74492
split-complementary
#C7BA44 #4492C7 #7944C7
monochromatic
#6F6821 #9E932F #C7BA44 #D5CB73 #E3DDA2

Accessibility & contrast

On white

1.99
#C7BA44 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#C7BA44 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BA44
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BA44#FFFFFF#000000##000000
##C7BA441.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB435
Deuteranopia (green-blind)
#CEBA4B
Tritanopia (blue-blind)
#D6AEA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c7ba44;
/* rgb */ color: rgb(199, 186, 68);
/* oklch */ color: oklch(77.8% 0.137 103.0);
Tailwind
colors: {
  custom: {
    50: '#dbce7e',
    500: '#c7ba44',
    950: '#000000',
  },
}
SCSS
$custom: #c7ba44;
$custom-light: #dbce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ba44",
  "rgb": {
    "r": 199,
    "g": 186,
    "b": 68
  },
  "hsl": {
    "h": 54.046,
    "s": 53.909,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77804,
    "c": 0.13701,
    "h": 103
  },
  "luminance": 0.47677
}

Semantic roles & 50–950 ramp

primary
#C7BA44
secondary
#979DD0
accent
#59DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7BA44

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

Preview Lab → · Contrast checker → · Palette generator →

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