#C7BA39#C7BA39

#C7BA39 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.7% C 0.145 H 103.5°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#C7BA39
RGBrgb(199, 186, 57)
HSLhsl(55, 56%, 50%)
HSVhsv(55, 71%, 78%)
CMYKcmyk(0%, 6.5%, 71.4%, 22%)
CIE-LABlab(74.54, -9.89, 63.40)
CIE-LCHlch(74.54, 64.17, 98.86°)
OKLaboklab(77.72% -0.0337 0.1406)
OKLCHoklch(77.72% 0.145 103.5)
XYZxyz(41.8524, 47.5570, 10.8450)
Luminance0.4755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BA39 #3946C7
analogous
#C77339 #C7BA39 #8DC739
triadic
#C7BA39 #39C7BA #BA39C7
tetradic
#C7BA39 #39C773 #3946C7 #C7398D
square
#C7BA39 #39C773 #3946C7 #C7398D
split-complementary
#C7BA39 #398DC7 #7339C7
monochromatic
#68611D #988E2B #C7BA39 #D4CB69 #E2DB98

Accessibility & contrast

On white

2.00
#C7BA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#C7BA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BA39
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BA39#FFFFFF#000000##000000
##C7BA391.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB423
Deuteranopia (green-blind)
#CFBA42
Tritanopia (blue-blind)
#D6ADA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c7ba39;
/* rgb */ color: rgb(199, 186, 57);
/* oklch */ color: oklch(77.7% 0.145 103.5);
Tailwind
colors: {
  custom: {
    50: '#dcce78',
    500: '#c7ba39',
    950: '#000000',
  },
}
SCSS
$custom: #c7ba39;
$custom-light: #dcce78;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ba39",
  "rgb": {
    "r": 199,
    "g": 186,
    "b": 57
  },
  "hsl": {
    "h": 54.507,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77717,
    "c": 0.14454,
    "h": 103.5
  },
  "luminance": 0.47555
}

Semantic roles & 50–950 ramp

primary
#C7BA39
secondary
#8E94CE
accent
#56DF49
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#151309
muted
#84827B

Preview Lab

Preview with #C7BA39

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

Preview Lab → · Contrast checker → · Palette generator →

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