#C7B23F#C7B23F

#C7B23F is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.1% C 0.134 H 98.8°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#C7B23F
RGBrgb(199, 178, 63)
HSLhsl(51, 55%, 51%)
HSVhsv(51, 68%, 78%)
CMYKcmyk(0%, 10.6%, 68.3%, 22%)
CIE-LABlab(72.46, -5.43, 58.99)
CIE-LCHlch(72.46, 59.24, 95.26°)
OKLaboklab(76.07% -0.0204 0.1323)
OKLCHoklch(76.07% 0.134 98.8)
XYZxyz(40.3726, 44.3437, 11.1343)
Luminance0.4434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B23F #3F54C7
analogous
#C76E3F #C7B23F #98C73F
triadic
#C7B23F #3FC7B2 #B23FC7
tetradic
#C7B23F #3FC76E #3F54C7 #C73F98
square
#C7B23F #3FC76E #3F54C7 #C73F98
split-complementary
#C7B23F #3F98C7 #6E3FC7
monochromatic
#6C6020 #9B8A2D #C7B23F #D5C56E #E3D89E

Accessibility & contrast

On white

2.13
#C7B23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#C7B23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B23F
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B23F#FFFFFF#000000##000000
##C7B23F1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD2F
Deuteranopia (green-blind)
#C9B546
Tritanopia (blue-blind)
#D6A59B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c7b23f;
/* rgb */ color: rgb(199, 178, 63);
/* oklch */ color: oklch(76.1% 0.134 98.8);
Tailwind
colors: {
  custom: {
    50: '#dbc87a',
    500: '#c7b23f',
    950: '#000000',
  },
}
SCSS
$custom: #c7b23f;
$custom-light: #dbc87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b23f",
  "rgb": {
    "r": 199,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 50.735,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76074,
    "c": 0.13385,
    "h": 98.8
  },
  "luminance": 0.44342
}

Semantic roles & 50–950 ramp

primary
#C7B23F
secondary
#939CCF
accent
#61DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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