#C7B038#C7B038

#C7B038 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.6% C 0.137 H 98.1°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#C7B038
RGBrgb(199, 176, 56)
HSLhsl(50, 56%, 50%)
HSVhsv(50, 72%, 78%)
CMYKcmyk(0%, 11.6%, 71.9%, 22%)
CIE-LABlab(71.88, -4.74, 61.17)
CIE-LCHlch(71.88, 61.35, 94.43°)
OKLaboklab(75.6% -0.0192 0.1357)
OKLCHoklch(75.6% 0.137 98.1)
XYZxyz(39.7943, 43.4803, 10.0371)
Luminance0.4348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B038 #384FC7
analogous
#C76938 #C7B038 #96C738
triadic
#C7B038 #38C7B0 #B038C7
tetradic
#C7B038 #38C769 #384FC7 #C73896
square
#C7B038 #38C769 #384FC7 #C73896
split-complementary
#C7B038 #3896C7 #6938C7
monochromatic
#675C1D #97862B #C7B038 #D4C368 #E2D698

Accessibility & contrast

On white

2.17
#C7B038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#C7B038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B038
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B038#FFFFFF#000000##000000
##C7B0381.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC25
Deuteranopia (green-blind)
#C8B43F
Tritanopia (blue-blind)
#D7A398
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c7b038;
/* rgb */ color: rgb(199, 176, 56);
/* oklch */ color: oklch(75.6% 0.137 98.1);
Tailwind
colors: {
  custom: {
    50: '#dcc776',
    500: '#c7b038',
    950: '#000000',
  },
}
SCSS
$custom: #c7b038;
$custom-light: #dcc776;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b038",
  "rgb": {
    "r": 199,
    "g": 176,
    "b": 56
  },
  "hsl": {
    "h": 50.35,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.756,
    "c": 0.13701,
    "h": 98.1
  },
  "luminance": 0.43478
}

Semantic roles & 50–950 ramp

primary
#C7B038
secondary
#8D98CD
accent
#61DF48
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C7B038

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

Preview Lab → · Contrast checker → · Palette generator →

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