#CFB73C#CFB73C

#CFB73C is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.8% C 0.140 H 97.9°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#CFB73C
RGBrgb(207, 183, 60)
HSLhsl(50, 60%, 52%)
HSVhsv(50, 71%, 81%)
CMYKcmyk(0%, 11.6%, 71%, 18.8%)
CIE-LABlab(74.48, -4.75, 62.45)
CIE-LCHlch(74.48, 62.63, 94.35°)
OKLaboklab(77.85% -0.0192 0.1388)
OKLCHoklch(77.85% 0.14 97.9)
XYZxyz(43.4833, 47.4608, 11.1445)
Luminance0.4746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB73C #3C54CF
analogous
#CF6D3C #CFB73C #9ECF3C
triadic
#CFB73C #3CCFB7 #B73CCF
tetradic
#CFB73C #3CCF6D #3C54CF #CF3C9E
square
#CFB73C #3CCF6D #3C54CF #CF3C9E
split-complementary
#CFB73C #3C9ECF #6D3CCF
monochromatic
#74661D #A59129 #CFB73C #DBC96D #E7DB9E

Accessibility & contrast

On white

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

On black

10.49
#CFB73C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB73C
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB73C#FFFFFF#000000##000000
##CFB73C1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B329
Deuteranopia (green-blind)
#CFBB43
Tritanopia (blue-blind)
#DFA99E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb73c;
/* rgb */ color: rgb(207, 183, 60);
/* oklch */ color: oklch(77.8% 0.140 97.9);
Tailwind
colors: {
  custom: {
    50: '#e1cc79',
    500: '#cfb73c',
    950: '#000000',
  },
}
SCSS
$custom: #cfb73c;
$custom-light: #e1cc79;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb73c",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 60
  },
  "hsl": {
    "h": 50.204,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77845,
    "c": 0.14013,
    "h": 97.9
  },
  "luminance": 0.47459
}

Semantic roles & 50–950 ramp

primary
#CFB73C
secondary
#939ED3
accent
#5EE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB73C

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

Preview Lab → · Contrast checker → · Palette generator →

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